Authenticate users with multiple strategies including email/password, username/password, phone OTP, email OTP, magic links, and social sign-on.
Session cookie authentication for production deployments. The session token is automatically set as an HTTP-only, secure cookie.
Authentication strategy to use
plain_email, plain_username, phone_otp, email_otp, magic_link, passkey Username for username-based authentication
Email address for email-based authentication
Phone number for phone-based authentication
Password for credential-based authentication