Next.js Discord

Discord Forum

Unable to get my refreshtoken in the ServerSession? (Example provided)

Unanswered
Black carpenter ant posted this in #help-forum
Open in Discord
Black carpenter antOP
I've put up a simple repo with an example of how to use next-auth with app-router here:

https://github.com/allinws/next-auth-test

However, the only thing that's missing, is that I haven't been able to get the refreshtoken into the server session, without first also adding it to the client session (where it shouldn't be). Perhaps someone can put in the final piece of the puzzle?

0 Replies