Level 16
Check this out
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:
If jwt-auth supports JWT_REFRESH_TTL then:
How can we send 2 parameters (refresh token and access token) as response of login by jwt-auth action?
If access_token is expired then how can we regenerate access_token by using refresh token?
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.
Please or to participate in this conversation.