feat: add support for MFA challenge during sign in by Lyokone · Pull Request #2248 · firebase/FirebaseUI-Android

@Lyokone

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

@Lyokone

demolaf

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

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?

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

Choose a reason for hiding this comment

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

LGTM