Refresh the access token
The access token is valid for two hours by default.
However, the access token lifetime can be customized for each authorized app. If the access token is expired, a new access token can be obtained by using refresh token.
These parameters are used to renew the access token using the IFS token endpoint:
- grant_type=refresh_token
- refresh_token
- client id - Use as the username for HTTP basic authentication
- client secret - Use as the password for HTTP basic authentication
The OAuth client library automatically handles refreshing expired tokens.