kamleshcgtechno's avatar

Does jwt-auth support JWT_REFRESH_TTL in Lumen 8.0?

https://github.com/tymondesigns/jwt-auth

I have setup jwt-auth package in Lumen 8.0. Everything is working well until access_token is expired.

I have some queries:

  1. Does jwt-auth support JWT_REFRESH_TTL in Lumen 8.0?

If jwt-auth supports JWT_REFRESH_TTL then:

  1. How can we send 2 parameters (refresh token and access token) as response of login by jwt-auth action?

  2. If access_token is expired then how can we regenerate access_token by using refresh token?

  3. Is JWT_REFRESH_TTL time greater than JWT_TTL?

I am new to jwt-auth. Please suggest me how can we implement this package securely in my mobile api? Thanks a lot.

0 likes
1 reply

Please or to participate in this conversation.