Password APIs

Overview

The Password APIs handle sign-up and sign-in in a single step. On successful authentication, the user's JWT is returned. Password resets require email verification — the reset endpoint only succeeds if the user has a validated email address.

Use Cases

  1. Sign Up a new user via password authentication
  2. Sign In an existing user via password authentication
  3. Initiate a Password Reset
  4. Replace an existing user's password
  5. Update an existing user's password

Examples

Example - user sign-up via password

  1. Call the Sign-Up API endpoint. On success, the user's JWT is returned.

Example - reset user's password

  1. Call the Reset Password API endpoint.
  2. The user receives a password reset email. Verify the user after they complete the reset via Verify Magic Link.

Example - update user's password

  1. Use the user's refresh token to update their password via Update Password.
Was this helpful?

On this page