Next Auth + Create T3 App ( appDir )
did anybody manage to connect the appDir version of the CT3A with next-auth using a credentials provider? I can't seem to find a way to read a session after the login... Session is null after calling the getServerAuthSession() ...
5 Replies
Have you found a way?
Well honestly not yet - I've continued with other page/component implementations. When I get back to it I'll let you know 😄
this is my auth.ts file works for me
NextAuthProvider.tsx to mount in root layout.tsx aroung {children}
Heyo, I ahve not gotten this to work unfortunately. I am trying to do a very basic setup of NextAuth with the new appDir and trpc, but it does not work and i dont get how it should ideally work: https://create.t3.gg/en/usage/next-auth is still referring to the pages directory, so no real help either...