-
Notifications
You must be signed in to change notification settings - Fork 105
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_ui_auth] Login via google after deleting email account triggers error #27
Comments
I'm unsure how to solve this, but I just want to put out here what I was having trouble with. Seems to be related. When you first select an email with the Google Sign-in button, it keeps it cached somewhere and to this moment, I was not able to find any configuration option so that I could potentially log in with a different email. Say I needed to log into another account that also only has Google Sing-in enabled for example. Only able to clean this cached email by cleaning the app's full data. Not even cache only. |
Looking inside the package, I found a
|
Found a solution. Missing the call to I'm currently using: final googleProvider = GoogleProvider(clientId: googleClientID);
FirebaseUIAuth.configureProviders([
googleProvider,
PhoneAuthProvider(),
EmailAuthProvider(),
]);
runApp(MainApp(googleProvider: googleProvider)); I'm not sure if this works in any |
Hello 👋, to help manage issues we automatically close stale issues. This issue has been automatically marked as stale because it has not had activity for quite some time. Has this issue been fixed, or does it still require attention?
Thank you for your contributions. |
Bug report
When you delete an email account from the profile page and land back on the sign-in page, choosing sign-in with Google results in nothing happening. But when you reload the app you're signed in.
Error message:
Steps to reproduce
Steps to reproduce the behavior:
Expected behavior
Step 5 in reproduce should redirect to profile page
Flutter doctor
Run
flutter doctor
and paste the output below:Click To Expand
Flutter dependencies
Run
flutter pub deps -- --style=compact
and paste the output below:Click To Expand
The text was updated successfully, but these errors were encountered: