Next.js Discord

Discord Forum

How to Store two tokens in Nxt Auth in jwt callback.

Unanswered
Highlander posted this in #help-forum
Open in Discord
HighlanderOP
Hi,
I have 2 providers and I want to store complete token for both in next js and dont want them to be displayed to client side expcet for only access and id token which I had passed in session.

Now problem is that if I dont store access token somehow in jwt call back then later I wont be able to refresh token since thats not somthing which should usually be passed to client side.

0 Replies