Refreshing access tokens
Refresh expired access tokens using the refresh_token.
Remember: the refresh_token is obtained by requesting the offline_access scope during the
authorization flow, and is available in the Obtain token
response.
Refresh token request
Response
The response contains a new access_token and refresh_token. The new refresh_token must be
stored and used for subsequent refresh requests.
Handling refresh token failures
Your application must handle refresh token failures:
- Expired refresh token: Redirect user to authorization URL to re-grant consent.
- Revoked access: User has revoked your application’s access.
- Invalid client: Check your client credentials.