Skip to main content
Urbicon UI
Back to Recipes

Password Reset Flow

The two-page forgot/reset flow: request a link, then set a new password from the emailed token.

Live Preview

Forgot password

Enter your email address and we will send you a link to reset your password.

Back to sign in

Key Features

  • ForgotPasswordPage requests a reset link by email
  • Timing-safe and enumeration-safe — always the same fire-and-forget response
  • ResetPasswordPage consumes the token and sets a new password
  • Reset token claimed atomically (consumeResetToken) so one link is single-use
  • All sessions invalidated on a successful reset
  • onPasswordResetFailed hook surfaces a broken mail transport

Components Used

Password Reset Flow — full flow

Loading...
Loading syntax highlighting...