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

Token Expiration issue #469

Closed
sandipiweb opened this issue Sep 4, 2023 · 1 comment
Closed

Token Expiration issue #469

sandipiweb opened this issue Sep 4, 2023 · 1 comment

Comments

@sandipiweb
Copy link

Sanctum Version

^3.0

Laravel Version

9.19

PHP Version

8.0.2

Database Driver & Version

mysql

Description

Mobile App Api

after create token, token has been expired after some time li 48 even i set 'expiration' => null, in config/sanctum.php.

how i can set token lifetime ?

Steps To Reproduce

step 1
Auth::attempt() check user credential, if match then step 2 is run

step 2

createToken('MyApp')->plainTextToken; run this method for creating token

stape 3

send to the user

@sandipiweb sandipiweb changed the title Token Expiration Token Expiration issue Sep 4, 2023
@driesvints
Copy link
Member

Hi there,

Thanks for reporting but it looks like this is a question which can be asked on a support channel. Please only use this issue tracker for reporting bugs with the library itself. If you have a question on how to use functionality provided by this repo you can try one of the following channels:

However, this issue will not be locked and everyone is still free to discuss solutions to your problem!

Thanks.

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