Closed xonaman closed 1 year ago
@xonaman You seem to be hitting https://github.com/firebase/flutterfire/issues/10966 so please follow-up in it for further updates. Closing as duplicate.
@darshankawar unfortunately, neither downgrading flutter (because I have another dependency requiring the latest flutter version) nor parsing the error message by hand (because I need the MultiFactorResolver
from the FirebaseAuthMultiFactorException
object to be able to complete the 2FA process) is an option for me.
@darshankawar unfortunately, neither downgrading flutter (because I have another dependency requiring the latest flutter version) nor parsing the error message by hand (because I need the
MultiFactorResolver
from theFirebaseAuthMultiFactorException
object to be able to complete the 2FA process) is an option for me.
is there any update/fix for you sir?
@darshankawar well, I am hoping for Firebase to provide one soon.
Bug report
I am using firebase auth on the web. When running the following code
I get the following exception:
My user has only one 2FA method an it has not been set via the firebase console or firebase Admin SDK, but with the following flutter code:
--- somewhere else in my code ---
After setting the 2FA method after registration, everything works just fine. The error only occurs when logging out and back in again. What could I be missing or what am I doing wrong?
Expected behavior
A
FirebaseAuthMultiFactorException
is thrown so that I can handle 2FA auth via flutter code.Flutter doctor
Flutter dependencies