Email credentials
Credentials Authentication
Section titled “Credentials Authentication”The credentials authentication method allows users to log in using their email and password. The password is securely hashed using.
Environment Variables
Section titled “Environment Variables”AUTH_CREDENTIALS_LOGIN: Enables or disables credentials login. Set tofalseto disable.AUTH_ENFORCE_EMAIL_VERIFICATION: Enforces email verification. Set totrueto 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.