Skip to content

feat: add support for MFA challenge during sign in#2248

Merged
Lyokone merged 1 commit into
version-10.0.0-devfrom
feat/signinmfa
Oct 22, 2025
Merged

feat: add support for MFA challenge during sign in#2248
Lyokone merged 1 commit into
version-10.0.0-devfrom
feat/signinmfa

Conversation

@Lyokone

@Lyokone Lyokone commented Oct 22, 2025

Copy link
Copy Markdown
Contributor

Add support for MFA challenge during sign in.
Will catch the error and update internal state appropriately.

onSuccess = {
pendingResolver.value = null
// Reset auth state to Idle so the firebaseAuthFlow Success state takes over
authUI.updateAuthState(AuthState.Idle)

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

should we be able to updateAuthState from outside FirebaseAuthUI class?

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I don't think we should allow that, either the user is using it properly, or not 🤔
Can be discussed in a future release

@demolaf demolaf left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@Lyokone Lyokone enabled auto-merge (squash) October 22, 2025 12:22
@Lyokone Lyokone merged commit 6e3f755 into version-10.0.0-dev Oct 22, 2025
7 checks passed
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.

2 participants