【发布时间】:2020-11-10 00:07:25
【问题描述】:
我正在使用 Zoho OAuth 2.0,并按照https://www.zoho.com/crm/help/api/v2/#oauth-request 中的步骤获取访问令牌和刷新令牌。但是我有一些问题。
这是一个场景:
1. Get authorization token
2. From authorization token, get access token and refresh token.
3. After one hour, I use the refresh token. (then I receive a new access token) - As stated here https://www.zoho.com/crm/help/api/v2/#refreshing-tokens
4. After that, another hour, how is it possible for me to get another access token? As refresh token expires in an hour (similar to access token I assume).
5. When I refresh token, only a new access token is given but not a new refresh token. So after one hour I cannot do another refresh again.
有人知道如何实现吗?
【问题讨论】:
标签: java oauth-2.0 access-token zoho refresh-token