I have an integration with Xero oauth 1.0a (backend side in JAVA), where use the sdk to created contacts, invoices, credit notes. I need migrate Xero to oauth 2.0, because is current version was depreacted. Now, I use the dependencies:
<dependency>
<groupId>com.github.xeroapi</groupId>
<artifactId>xero-java</artifactId>
<version>2.1.3</version>
</dependency>
<dependency>
<groupId>com.github.xeroapi</groupId>
<artifactId>xeroapi-schemas</artifactId>
<version>1.0.0</version>
</dependency>
What is the solution to migration to Xero in server side without user interaction?
I looked the posts but not understand a conclusion:
- https://community.xero.com/developer/discussion/109207632
- https://central.xero.com/s/question/0D53m00005oHlkN/oauth2-client-credential-grant-server-side-communication-with-xero?t=1580332061000
Thanks all