Open mdouchement opened 4 months ago
The API returns the JWT in the Authorization response header of POST /users/sign_in and it is not used in GET /users/me by the Frontend which results in a 401 Unauthorized.
Authorization
POST /users/sign_in
GET /users/me
According to my understanding, the Frontendrelies on https://github.com/websanova/vue-auth/blob/v2.21.14-beta/drivers/auth/bearer.js to get the JWT from the response, so it may be a regression from the Frontend. vue-auth is way outdated by the way.
vue-auth
I don't know why, but there is also cookie headers in the requests and responses.
The API returns the JWT in the
Authorization
response header ofPOST /users/sign_in
and it is not used inGET /users/me
by the Frontend which results in a 401 Unauthorized.According to my understanding, the Frontendrelies on https://github.com/websanova/vue-auth/blob/v2.21.14-beta/drivers/auth/bearer.js to get the JWT from the response, so it may be a regression from the Frontend.
vue-auth
is way outdated by the way.I don't know why, but there is also cookie headers in the requests and responses.