Thirosue / next-shadcn-sample

https://next-shadcn-sample-mu.vercel.app
MIT License
3 stars 1 forks source link

Session Adapter #25

Closed Thirosue closed 6 months ago

Thirosue commented 6 months ago

https://github.com/nextauthjs/next-auth/blob/main/packages/adapter-drizzle/src/index.ts

https://github.com/nextauthjs/next-auth/blob/main/packages/adapter-prisma/src/index.ts

https://next-auth.js.org/providers/credentials

It comes with the constraint that users authenticated in this manner are not persisted in the database, and consequently that the Credentials provider can only be used if JSON Web Tokens are enabled for sessions.