Frequently Asked Questions
- How long is the access token valid? The validity of an access token is specified in the
expires_inparameter of the response. - What should you do if the access token has expired? The client sends a new access token request using the refresh token grant. The Pleo authorisation server provides a new access token and a new refresh token.
- After receiving the new access token and refresh token, are the old access token and refresh token valid? No, you must discard the old access token and the refresh token.
- How long is a refresh token valid? The validity of a refresh token is not defined. It is valid for at least 60 days. However, it cannot be guaranteed whether the refresh token would be valid after 60 days.
- What should you do if the refresh token has expired? You must reinitiate a new OAuth 2.0 flow with an authorisation request.