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
The access token is often rotated using refresh token mechanism, so whenever this happens is there any way to set token so that I don't have to specify this header every time.
I'm using a port of nextauth.js nuxt-auth so whenever a refresh happens token is set on server side. It would be helpful if there's a function I can call to set something like global state or something for token.
On non server side I was imagining something like useState that would allow me to override access token all over the app.
Additional information
Would you be willing to help implement this feature?
Can you think of other implementations of this feature?
Describe the feature
The access token is often rotated using refresh token mechanism, so whenever this happens is there any way to set token so that I don't have to specify this header every time.
I'm using a port of nextauth.js nuxt-auth so whenever a refresh happens token is set on server side. It would be helpful if there's a function I can call to set something like global state or something for token.
On non server side I was imagining something like
useState
that would allow me to override access token all over the app.Additional information
Final checks
The text was updated successfully, but these errors were encountered: