Password authentication flow
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)
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: