Usage of NextAuth with Prisma and Nextjs Appdir

Hello! Thats my first project in T3 stack, and first time im using NextAuth, but im not getting idea of it.. After signing in i have session cookies as you can see on the screen, in prisma i have model to Session, but what with that? I need to handle it by myself to add sessions to database? How i can now check does user is logged in? Could someone explain me how should it work, and how should i handle session with my prisma? Thanks! Thats my current repo: https://github.com/Bartholomeas/business-card-generator/tree/feat/authorization
GitHub
GitHub - Bartholomeas/business-card-generator at feat/authorization
Contribute to Bartholomeas/business-card-generator development by creating an account on GitHub.
No description
0 Replies
No replies yetBe the first to reply to this messageJoin
Want results from more Discord servers?
Add your server