SignInForm
Complete sign-in interface supporting email/password, email OTP, phone OTP, magic links, passkeys, social OAuth, SSO, two-factor authentication, forgot password, and profile completion.- Identification Phase - User enters email/username/phone
- Strategy Detection - System detects available authentication methods
- Authentication Phase - User completes authentication (password, OTP, etc.)
- Verification Phase - Email/phone verification if required
- Second Factor - 2FA if enabled
- Profile Completion - Additional profile info if required
- Redirect - User is redirected to the appropriate page
Redirect Handling
After successful sign-in, the user is redirected based on:- The
redirect_uriquery parameter (if present) - The
after_signin_redirect_urldeployment setting - The deployment’s frontend host (fallback)
/signin?redirect_uri=/dashboard will bring users to /dashboard after sign-in completes.
Related
- SignUpForm - Sign-up form component
- useSignIn - Hook for custom sign-in flows
- useNavigation - Navigation utilities
