Closed sarvesh-simkraft closed 2 years ago
@sarvesh-simkraft this JWT token is usually used to confirm the user has a valid google account and to get basic details of that google account and this is done at backend (here is an example), after that JWT token is no more needed, rest of the login logic is done at backend, can you explain why you need to use this JWT again after 1 hour?
I don't want my user to log out every one hour. so I want a refresh token or a token which lasts at least a day. to keep a login session at least for a day.
@sarvesh-simkraft I believe this JWT token from google should not be used for checking you web applications login session, JWT credential is generated by google is only for getting basic info of that user for the initial login, after that login logic is usually done inside you application server side code.
@yobaji ok thanks for helping me
@yobaji ok thanks for helping me
After the user is logged in. Application is getting a jwt token which will expire after 1 hour. Can you please provide me an option to get a refresh token or to get a jwt token at the start with an expiration time of more than 1 hour?