Email credentials
Credentials Authentication
The credentials authentication method allows users to log in using their email and password. The password is securely hashed using.
Environment Variables
AUTH_CREDENTIALS_LOGIN
: Enables or disables credentials login. Set tofalse
to disable.AUTH_ENFORCE_EMAIL_VERIFICATION
: Enforces email verification. Set totrue
to enforce. If this is enabled user must use the magic link to verify their email before being able to login using credentials method.NEXT_AUTH_SECRET
: Secret key used for signing tokens.