https://github.com/nuxt-community/auth-module
I use local strategy with a token. After the token expires if i reload the page, the user is logged out because i have resetOnError=True, but in all request made with axios the authorization header with the expired token is still present and all request return 401.
After token expiration the auth header in axios must be removed.
The auth header is still present and all request fail.
I think it should be handled on LOCAL Scheme implementation. The LOCAL Scheme should implement a built-in refresh token policy. Of course, the backend also should handle the "refresh token" policy.
For OAUTH2 Scheme a solution was proposed. Waiting approval.
https://github.com/nuxt-community/auth-module/pull/188
I wonder what happened to this issue?
@metawise there are too many open PR from community, but I think the Maintainers are busy with other packages.
This module is pretty important, a must have for any application. Would be nice if they come back :)
@robsontenorio We did not forget any of you.
Fix released with v4.9.0.
Most helpful comment
@robsontenorio We did not forget any of you.