firebase / FirebaseUI-Flutter

Apache License 2.0
101 stars 91 forks source link

🐛 [firebase_ui_auth 1.1.10] strange behaviour with "enable more sign in methods" #39

Closed graemep-nz closed 1 year ago

graemep-nz commented 1 year ago

Bug report

When there is only one auth provider configured, a problem occurs with sign-in methods button and enable more sign-in methods.

See https://github.com/firebase/flutterfire/issues/10431 for files etc. Issue number 2 in firebase_ui_auth 1.1.10 issues.pdf

see also https://github.com/firebase/flutterfire/issues/10431 https://github.com/firebase/flutterfire/issues/10433 https://github.com/firebase/flutterfire/issues/10434 https://github.com/firebase/FirebaseUI-Flutter/issues/36 https://github.com/firebase/FirebaseUI-Flutter/issues/35

darshankawar commented 1 year ago

Was able to verify this as mentioned in the issue # 2 in the pdf. After signing out, I was unable to sign in again:

Screenshot 2023-02-13 at 5 07 39 PM
FirebaseUIAuth.configureProviders([
    EmailAuthProvider(),
    // emailLinkProviderConfig,
    // PhoneAuthProvider(),
    // GoogleProvider(clientId: GOOGLE_CLIENT_ID),
    // AppleProvider(),
    // FacebookProvider(clientId: FACEBOOK_CLIENT_ID),
    // TwitterProvider(
    //   apiKey: TWITTER_API_KEY,
    //   apiSecretKey: TWITTER_API_SECRET_KEY,
    //   redirectUri: TWITTER_REDIRECT_URI,
    // ),
  ]);

firebase_ui_auth 1.1.10 issues.pdf

lesnitsky commented 1 year ago

as of Flutter 3.13.1 • channel stable and firebase_ui_auth: 1.7.0 this is no longer reproducible (icons are not clickable in "Sign in methods" row on ProfileScreen)