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