You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This fetch fails as the token expired (we cannot call a route the moment the session is set to expire, as we don't have cron jobs etc, running)
If a refresh endpoint is defined, a call to this refresh endpoint is made, with what data? (The previous token?)
Is this what you were thinking of? Or did I misunderstand your request?
Maybe check out the old nuxt-auth module's implementation regarding handling refresh token or request in general. They check the tokens expiration and act accordingly, not by the server's 401 response.
Describe the feature
include a configuration for the refresh endpoint.
The refresh path should automatically be called when the token is set to expire or when it will expire.
Additional information
No response
The text was updated successfully, but these errors were encountered: