markitosgv/JWTRefreshTokenBundle

Token TTL Unlimited

EvilSpartans opened this issue · 1 comments

Hello, is it possible to never expire the refresh token ? Because I'm using this to prevent lexik jwt from expiration, and if the refresh token expire too so I will still have a problem. How can I configure my file so that the refresh token never expires ? Thanks !

gesdinet_jwt_refresh_token: ttl: 2592000 refresh_token_class: App\Entity\RefreshToken

It seems like you're saying that you'd like a non-expiring refresh token to allow you to ensure that a token created with lexik/jwt-authentication-bundle never expires.

As of lexik/jwt-authentication-bundle:2.1.6 you should be able to configure things such that generated tokens never expire. Is this what you need?