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'm trying to set the expiration at 240 minutes, but when I create the token, it is instantly invalid. In the database the expires_at column is null on all the tokens generated.
Steps To Reproduce
Set expiration to 240 in config/sanctum.php
Create a new token
Try to use the token in a request
Response is Unauthenticated, the token is not valida anymore
The text was updated successfully, but these errors were encountered:
As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.
If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.
Sanctum Version
3.3.0
Laravel Version
9.52.15
PHP Version
8.0."
Database Driver & Version
No response
Description
I'm trying to set the expiration at 240 minutes, but when I create the token, it is instantly invalid. In the database the expires_at column is null on all the tokens generated.
Steps To Reproduce
config/sanctum.php
The text was updated successfully, but these errors were encountered: