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
I can refresh a non-expired token normally, but when I try to refresh an expired token, I get a 401 response with the message "Unauthenticated", even if the token is within the allowed refresh time.
My JWT .env variables (I didn't put the JWT_SECRET in the printscreen but it's on the .env file):
I saw other people with similar issues in the issues area but i cannot find any answer. Anyone have an idea how to resolve it?
Your environment
Q
A
Bug?
yes
New Feature?
no
Framework
Laravel
Framework version
9.47.0
Package version
dev-develop
PHP version
8.1.2
Steps to reproduce
Generate a token and wait till it expires. When expired, try to refresh token.
Expected behaviour
Return the new token
Actual behaviour
Return an 401 Unauthorized response with the message: "Unauthenticated".
The text was updated successfully, but these errors were encountered:
Subject of the issue
I can refresh a non-expired token normally, but when I try to refresh an expired token, I get a 401 response with the message "Unauthenticated", even if the token is within the allowed refresh time.
My JWT .env variables (I didn't put the JWT_SECRET in the printscreen but it's on the .env file):
I saw other people with similar issues in the issues area but i cannot find any answer. Anyone have an idea how to resolve it?
Your environment
Steps to reproduce
Generate a token and wait till it expires. When expired, try to refresh token.
Expected behaviour
Return the new token
Actual behaviour
Return an 401 Unauthorized response with the message: "Unauthenticated".
The text was updated successfully, but these errors were encountered: