-
-
Notifications
You must be signed in to change notification settings - Fork 15
Closed
Labels
Description
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
- Would you be willing to help implement this feature?
- Can you think of other implementations of this feature?
Final checks
- Check existing issues.
MaikelOrisha, Killerbee439, mdirksen-optimizers, Bridgesofstone, kvoptimizers and 3 more