Closed ybhwang closed 2 years ago
In addition, global
is not working with any axios functions
Note(official): This determines if the authentication token is automatically included in all custom axios requests.
I found the problem in Backend Server. It causes with SpringBoot's Intercepter. (Request method changed to Options - preflight)
Version
module:
5.0.0-1648802546.c9880dc
nuxt:^2.15.8
Nuxt configuration
mode:
Nuxt configuration
Reproduction
Helpful Links:
What is expected?
Authorization
should be included to Axios Headers when I got user data byendpoints.user
What is actually happening?
Backend Server can't find
Authorization
in Http Request, so auth module cannot process loginSteps to reproduce
token.global
: trueloginWith()
Additional information
user.authfetch: false
&endpoints.user: false
Checklist
Steps to reproduce
Please check
Reproduction
Section.What is expected?
Skip. Please check
Reproduction
Section.What is actually happening?
Skip. Please check
Reproduction
Section.Performance analysis?
Skip.