How to store session in DB using credentials provider?
How to store session in DB using credentials provider? Otherwise, I cannot manage the user's logout from the server side.
2 Replies
Overview | NextAuth.js
An Adapter in NextAuth.js connects your application to whatever database or backend system you want to use to store data for users, their accounts, sessions, etc. Adapters are optional, unless you need to persist user information in your own database, or you want to implement certain flows. The Email Provider requires an adapter to be able to sa...
Doesn't really answer the question