【发布时间】:2018-08-16 13:10:43
【问题描述】:
我正在使用以下 API
https://bitbucket.org/site/oauth2/authorize?client_id={client_id}&response_type=token
要获取 access_token 但 access_token 在 1 小时内过期,我需要 refresh_token 但我无法在上述 API 的响应中获取 refresh_token。 上述 API 的响应是
https://www.example.com/#access_token={access_token}&scopes={scopes}&expires_in=3600&token_type=bearer
您可以在上面的回复中看到没有 或者有没有其他方法可以获得refresh_token。
我想将上述 API 调用为 GET 方法。
能否请人帮忙。
谢谢!
【问题讨论】:
标签: bitbucket token access-token bitbucket-api refresh-token