Closed Flavioamorim closed 6 years ago
Just set the custom claim to null or the ttl config to a huge amount of minutes.
Were you able to achieve this?
on config/jwt.php
:
/*
|--------------------------------------------------------------------------
| JWT Time to live (TTL)
|--------------------------------------------------------------------------
|
| ...
|
*/
'ttl' => 5256000,
This would allow a 10 year valid token.
yes, thanks
Hi folks,
I've implemented this lib in my project, but i had a problem: i want to generate a token that never expires, but i haven't found a way to do it
thanks