V6: How to Authenticate from existing session #4738
Replies: 2 comments
-
Couple of questions!
|
Beta Was this translation helpful? Give feedback.
0 replies
-
Thank you, the issue was related to cores. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have an authVerify method in my users_controller, but it is returning 401
The idea is that when the user refreshes the Frontend App, I have a boot function that makes a call to an endpoint
So that the user record can be returned based on the session in the browser.
I am getting a 401 error, I am refreshing the browser a few seconds after the logging in, so the token should still be valid.
auth.js?t=1727347826163:9 POST http://localhost:3333/api/v1/auth_check 401 (Unauthorized)
The request is not getting to the controller, and is being blocked by the auth middleware.
Beta Was this translation helpful? Give feedback.
All reactions