我正在使用以下 API
https://bitbucket.org/site/oauth2/authorize?client_id={client_id}&response_type=token
Run Code Online (Sandbox Code Playgroud)
获取 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
Run Code Online (Sandbox Code Playgroud)
您可以在上面的回复中看到没有或者是否有其他方法可以获得 refresh_token。
我想将上述 API 调用为 GET 方法。
可以请人帮忙。
谢谢你!