Password authentication flow
1
Authenticate with password
Members log in by providing their email and password using the Authenticate endpoint:Key parameters:
organization_id: The organization the member belongs to (required)email_address: Member’s email address (required)password: Member’s password (required)session_duration_minutes: How long the session should last (default: 60)
2
Handle MFA (if required)
If the organization requires MFA, the response will have Use the intermediate session token to complete an MFA challenge (TOTP or SMS) before the member is fully authenticated.
member_authenticated: false and include an intermediate_session_token:Password reset flows
Stytch provides two methods for resetting passwords:- Reset by Email
- Reset by Existing Password
Send a password reset email to the member using the Password Reset by Email Start endpoint:Start the reset:The member receives an email with a reset link. When they click it, extract the Returns a session for the member with their new password set.
password_reset_token from the callback URL.Complete the reset with the Password Reset by Email endpoint:Password strength validation
Check password strength before allowing members to set passwords using the Strength Check endpoint:Learn more
Password strength policy
Configure password requirements
MFA guide
Add multi-factor authentication