New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[firebase_auth]: Incorrect exception surfaced #12644
Comments
This is coming from the native SDK. It looks like you're hitting email enumeration protection. Is it enabled? See documentation for enabling/disabling: https://cloud.google.com/identity-platform/docs/admin/email-enumeration-protection |
Sure, I get that FlutterFire is basically a wrapper around the native libraries, and all responsibility falls on them. It's just that the error is surfaced from For example, in a |
@larssn - I don't suppose you have blocking functions enabled as well? I have seen that kind of response before as a result of one of those functions. the PlatformException is being thrown here: https://github.com/firebase/flutterfire/blob/master/packages/firebase_auth/firebase_auth_platform_interface/lib/src/pigeon/messages.pigeon.dart#L1135 We convert PlatformException here: https://github.com/firebase/flutterfire/blob/master/packages/firebase_auth/firebase_auth_platform_interface/lib/src/method_channel/method_channel_firebase_auth.dart#L345 It's almost as if it is throwing in the conversion function. If you can get me a reproduction I can take a look but I can't fix something when I don't know where the problem is. |
I know the difficulty of fixing issues where there's no reproduction; I'm a dev myself. ❤️ We're not using blocking functions ( Can't we just catch any exception that contains |
Is there an existing issue for this?
Which plugins are affected?
Auth
Which platforms are affected?
Android
Description
An incorrect exception was surfaced, and not the expected FirebaseAuthException.
Not sure how it happens, as I can't reproduce it, but it's gotta be in there somewhere.
There are several closed issues about this problem already.
Reproducing the issue
Not sure
Firebase Core version
2.29.0
Flutter Version
3.19.5
Relevant Log Output
Flutter dependencies
Expand
Flutter dependencies
snippetAdditional context and comments
No response
The text was updated successfully, but these errors were encountered: