[英]Migration Xero oauth 1.0a to 2.0 (JAVA)
I have an integration with Xero oauth 1.0a (backend side in JAVA), where use the sdk to created contacts, invoices, credit notes.我与 Xero oauth 1.0a(JAVA 中的后端)集成,其中使用 sdk 创建联系人、发票、贷记单。 I need migrate Xero to oauth 2.0, because is current version was depreacted.
我需要将 Xero 迁移到 oauth 2.0,因为当前版本已被弃用。 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?在没有用户交互的情况下在服务器端迁移到 Xero 的解决方案是什么?
I looked the posts but not understand a conclusion:我看了帖子但不明白结论:
Thanks all谢谢大家
Hi @roliveira = the migration strategy is also outlined here: https://developer.xero.com/documentation/oauth2/migrate嗨@roliveira = 这里也概述了迁移策略: https : //developer.xero.com/documentation/oauth2/migrate
It shows the strategy to exchange your Oauth1 tokens for Oauth2 tokens without requiring any users to re-authenticate.它显示了将您的 Oauth1 令牌交换为 Oauth2 令牌的策略,而无需任何用户重新进行身份验证。
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.