Create t3 app with nextauth and new router problems
I have a question regarding the t3-createapp with nextauth.
In what file do I put my <SessionProvider> ? I would've assumed that the t3 app generator would handle that for me, but it didn't, and im not sure where to put it.
I am trying to do it in the app/layout.tsx like i did with my normal next project that im using for reference, but its not working.
the t3 nextauth documentation only has pages router and no app router documentation.
(EDIT: it may be the problem that t3 uses nextuath v4 instead of v5 (that is still in beta,That must be it) that im used to. i guess i should look into the upgrade guide)
0 Replies