4 Replies
Solution
credentials only work with JWT strategy
Here is what is stated on the docs.
"Credentials provider can only be used if JSON Web Tokens are enabled for sessions."
https://next-auth.js.org/providers/credentials
Credentials | NextAuth.js
Overview
I followed the docs
like this
@ronanru @vincealwynsibay