Oauth2 : how to refresh the access token when it is expired ? #1634
Unanswered
jiboule
asked this question in
Support Requests
Replies: 1 comment 1 reply
-
If refresh token is available and not expired. This only works when logged in. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
My Oauth2 flow is working fine, I get my accessToken and can request my API. My problem occurs when the accessToken is expired.
It seems that either the refreshTokens function does nothing nor the token is refreshed automatically by auth.
I set the validity duration of my acces tokens to 60 seconds on purpose for the tests.
Here is my config :
When I call refreshTokens programmatically :
Am I supposed to extend axios by myself and implements the refresh token flow ? If so, what is the point to configure refresh token in the scheme ?
Beta Was this translation helpful? Give feedback.
All reactions