Source: Tempo Support and Engineering.
Refreshing an OAuth 2.0 access token requires redirect_uri
When you refresh a Tempo OAuth 2.0 access token, the refresh request must include redirect_uri. Use the same value that you used in the authorize request and that is set in your OAuth 2.0 application configuration.
The Tempo API documentation lists redirect_uri in the refresh request payload: https://apidocs.tempo.io/.
Symptoms
If a token refresh fails, check that the refresh request includes redirect_uri. This parameter has been required for token refresh since 2023.
Resolution
-
Add
redirect_urito the refresh request. -
Make sure the value matches the redirect URI in your OAuth 2.0 application configuration.
Related: Using OAuth 2.0 Authentication.