capabilities.work

Password Reset by Email

A 3-step recipe with Stytch. We can help you get access.

Recipe · 3 steps

Password Reset by Email

with Stytch · Identity & Access Management

Email a reset link, set the new password with the token, and verify the session.

  1. Start a password reset by emailing the user a reset link, returning the user_id and email_id targeted by the reset.
  2. Complete the password reset by submitting the emailed token and the new password, minting a fresh session in the process.
  3. Read the active sessions for the user to confirm the reset signed them in.
What you'll need to have ready
  • email: The email address of the account to reset the password for.
  • reset_password_redirect_url: The URL the user is redirected to after clicking the reset link.
  • token: The password reset token extracted from the emailed reset link.
  • password: The new plaintext password to set on the account.
  • session_duration_minutes: Optional session lifetime in minutes for the authenticated session.
For your developer

Arazzo workflow stytch:password-reset-email, 3 operations: api_password_v1_passwords_email_ResetStart → api_password_v1_passwords_email_Reset → api_session_v1_Get. Specs on APIs.io.