0
rameshrubix created
JWT Token should not expire for mobile since the session should be maintain all the time. We use the same backend API code for web and mobile, The token generated for mobile should not expire until the user logs out by himself. It would be great if you can suggest us with a solution for achieving the same. Note : The token generated for web should get expired as usual.
1 Answer(s)
-
0
Hi @rameshrubix
A refresh token mechanism is implemented both for web and mobile. If you want to change this behaviour, you can create a new endpoint for mobile app and use it in your mobile app similar to
TokenAuthController/Authenticate
.