Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Frontend authentication on master#c803fc4 #402

Open
mdouchement opened this issue Feb 25, 2024 · 0 comments
Open

Frontend authentication on master#c803fc4 #402

mdouchement opened this issue Feb 25, 2024 · 0 comments
Assignees

Comments

@mdouchement
Copy link
Collaborator

mdouchement commented Feb 25, 2024

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.

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.

@mdouchement mdouchement changed the title Forntend authentication on master#c803fc4 Frontend authentication on master#c803fc4 Feb 25, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants