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
Login with a basic local token based schema like above with global set to true (default). Look at any axio request. The Authorization Header misses the token.type (default Bearer).
Disable SSR and do the same: token.type is provided on Auth-Header.
What is expected?
Token.type should be provided even with ssr and without.
What is actually happening?
Token.type is only provided with ssr disabled.
Steps to reproduce
See Reproduction.
Additional information
Happens only in @nuxtjs/auth-next. 4.x works fine even with ssr enabled.
Checklist
I have tested with the latest Nuxt version and the issue still occurs
I have tested with the latest module version and the issue still occurs
I have searched the issue tracker and this issue hasn't been reported yet
Steps to reproduce
What is expected?
What is actually happening?
Performance analysis?
The text was updated successfully, but these errors were encountered:
Version
module: 5.0.0-1667386184.dfbbb54
nuxt: 2.15.7
Nuxt configuration
mode:
Nuxt configuration
Reproduction
Login with a basic local token based schema like above with
global
set to true (default). Look at any axio request. The Authorization Header misses the token.type (defaultBearer
).Disable SSR and do the same: token.type is provided on Auth-Header.
What is expected?
Token.type should be provided even with ssr and without.
What is actually happening?
Token.type is only provided with ssr disabled.
Steps to reproduce
See Reproduction.
Additional information
Happens only in @nuxtjs/auth-next. 4.x works fine even with ssr enabled.
Checklist
Steps to reproduce
What is expected?
What is actually happening?
Performance analysis?
The text was updated successfully, but these errors were encountered: