Add rest of User prisma table types and data to nextauth session in auth.ts
Hi, how can I add all the user data to the session including user table specified values and not just nextAuth?
My current setup in the scaffolded T3 auth.ts is the following:
Is this the correct way to add the prisma table colum types and data to the session?
Solution:Jump to solution
Hi, how can I add all the user data to the session including user table specified values and not just nextAuth?
My current setup in the scaffolded T3 auth.ts is the following:
```TS...
4 Replies
these two links might help
Thank you very much @nexxel I actually found out I did it correctly, or everything works at least, so I will just go ahead and mark my own code as the solution.