Skip to content

feat: Add switching methods to OTP/PASSWORD#325

Open
amitsingh05667 wants to merge 1 commit intomasterfrom
SDK-7382
Open

feat: Add switching methods to OTP/PASSWORD#325
amitsingh05667 wants to merge 1 commit intomasterfrom
SDK-7382

Conversation

@amitsingh05667
Copy link
Member

Changes

New Form Action Constants

  • SWITCH_TO_OTP_AUTH (switch-to-otp-auth)
  • SWITCH_TO_PASSWORD_AUTH (switch-to-password-auth)

login-password screen

  • Added switchToOtpAuth() — switches from password authentication to OTP authentication (sends { action: 'switch-to-otp-auth' })

email-identifier-challenge screen

  • Added switchToPasswordAuth() — switches from email OTP/code authentication to password authentication (sends { code: '', action: 'switch-to-password-auth' })

phone-identifier-challenge screen

  • Added switchToPasswordAuth() — switches from phone OTP/code authentication to password authentication (sends { code: '', action: 'switch-to-password-auth' })

@amitsingh05667 amitsingh05667 requested a review from a team as a code owner February 12, 2026 10:28
@amitsingh05667 amitsingh05667 changed the title Add authentication switching methods feat: Add authentication switching methods to OTP/PASSWORD Feb 13, 2026
@amitsingh05667 amitsingh05667 changed the title feat: Add authentication switching methods to OTP/PASSWORD feat: Add switching methods to OTP/PASSWORD Feb 13, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant