jixxywizzy
KKinde
•Created by jixxywizzy on 6/24/2024 in #💻┃support
How to implement refresh token
Requirement is to keep the access token time of 2 or 3 minutes after that refresh token should fetch new access token, which is happening but it requires a reload , it doesn't happens quietly in the background as it says in the docs.
If you can give the proper step by step guide to fulfil the requirements, that would be great
I'm using nextjs app router sdk and I have nestjs backend where I'm using nodejs express sdk where verifyjwt logic is implemented
So for every request from the frontends I have to send the access token in the header and as I said it doesn't updates the access token in background it sends the old(expired one) access token in request and hence request gets failed.
Need help in this scenario, urgently
Thanks
6 replies
KKinde
•Created by jixxywizzy on 4/18/2024 in #💻┃support
Logout the same user if logged in on another device
It is more hectic to log out all the sessions instead of blocking login and it is more error prone as I see and on top of that I think it will be difficult to test
7 replies
KKinde
•Created by jixxywizzy on 4/18/2024 in #💻┃support
Logout the same user if logged in on another device
Thanks for the reply,
As per your explanation it is a good approach to logout all the sessions of a particular user, but I need that if one session is usage the other session should not start, the user shouldn't be able to log in only on another device
7 replies
KKinde
•Created by jixxywizzy on 4/12/2024 in #💻┃support
Add user with phone number
Yes, thanks for the reply on the mail 👍🏻
3 replies