NextAuth Discord
Unanswered
Minskin posted this in #help-forum
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
MinskinOP
Hi, i have problem with getServerSession(). When redirect to
/dashboard
i get back again to signin5 Replies
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
MinskinOP
After login i need get code, then token and from token information about user, save user do session and then redirect do
/dashboard
when i use console.log(session) in route.ts i get null
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
MinskinOP
![Image](https://cdn.discordapp.com/attachments/1156886255607480350/1156891209348943913/image.png?ex=65169e66&is=65154ce6&hm=9d501f89916f3b6c045528566167d9b957383b96c77789ad84fec71afec21ef1&)
route.ts is in callback/discord
![Avatar](https://cdn.discordapp.com/embed/avatars/1.png)
MinskinOP
Thx for help 🙂