-
-
Notifications
You must be signed in to change notification settings - Fork 614
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
Cant override expiration / ttl #521
Labels
Comments
I also want to generate token that never expires. This is because the I see no easy way to do this lexik_jwt_authentication.jws_provider.not_expiring:
public: true
parent: Lexik\Bundle\JWTAuthenticationBundle\Services\JWSProvider\JWSProviderInterface
arguments:
index_3: ~
lexik_jwt_authentication.encoder.not_expiring:
parent: lexik_jwt_authentication.encoder
arguments:
index_0: '@lexik_jwt_authentication.jws_provider.not_expiring'
lexik_jwt_authentication.jwt_manager.not_expiring:
parent: lexik_jwt_authentication.jwt_manager
arguments:
index_0: '@lexik_jwt_authentication.encoder.not_expiring' |
Closing for the reasons explained in #583. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
It is not possible to override the default expiration time to unlimited.
With the manager it is also not possible:
I also tried this to remove expiration for unlimited lifetime:
The text was updated successfully, but these errors were encountered: