We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
When JWT_MAX_REFRESH_PERIOD is set (not null), then any login attempt throw Token has expired exception.
JWT_MAX_REFRESH_PERIOD
Token has expired
Set JWT_MAX_REFRESH_PERIOD to any not null value. Try to login with correct credentials:
auth()->attempt($credentials);
attempt() method should return \Tymon\JWTAuth\Token.
attempt()
\Tymon\JWTAuth\Token
attempt() method throw exception.
Also, i think even if JWT_MAX_REFRESH_PERIOD is null, it's not works as expceted. For example:
JWT_TTL=1 JWT_MAX_REFRESH_PERIOD=null
with that configuration i can't refresh my token after 1min (it should be possible because JWT_MAX_REFRESH_PERIOD is infinite).
The text was updated successfully, but these errors were encountered:
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
Sorry, something went wrong.
No branches or pull requests
Subject of the issue
When
JWT_MAX_REFRESH_PERIOD
is set (not null), then any login attempt throwToken has expired
exception.Your environment
Steps to reproduce
Set
JWT_MAX_REFRESH_PERIOD
to any not null value. Try to login with correct credentials:Expected behaviour
attempt()
method should return\Tymon\JWTAuth\Token
.Actual behaviour
attempt()
method throw exception.Linked issue
Also, i think even if
JWT_MAX_REFRESH_PERIOD
is null, it's not works as expceted. For example:with that configuration i can't refresh my token after 1min (it should be possible because
JWT_MAX_REFRESH_PERIOD
is infinite).The text was updated successfully, but these errors were encountered: