firebase-authentication-dotnet icon indicating copy to clipboard operation
firebase-authentication-dotnet copied to clipboard

Can't logout from Google while using FirebaseUI

Open djessyczaplicki opened this issue 3 years ago • 3 comments

I am trying to logout from Google, but when I try to sign out, it doesn't let me choose another google account

await FirebaseUI.Instance.Client.SignOutAsync();

djessyczaplicki avatar May 23 '22 13:05 djessyczaplicki

I'm using WPF and I am on v4 btw, if it makes any difference

djessyczaplicki avatar May 23 '22 13:05 djessyczaplicki

I'm having this same issue. Any progress with it?

nelsonhp3 avatar Jun 22 '22 18:06 nelsonhp3

Is this still the case with latest release?

bezysoftware avatar Jan 04 '23 18:01 bezysoftware

You can use a Provider Custom Parameter to always show a prompt to login when signed out.

FirebaseUI.Initialize(new FirebaseUIConfig {
       ApiKey = "<ApiKey>",
       AuthDomain = "<AuthDomain>",
       Providers = new FirebaseAuthProvider[]
       {
           new GoogleProvider().AddCustomParameters(new System.Collections.Generic.KeyValuePair<string, string>("prompt", "select_account"))
       },
       ...
   });

nelsonhp3 avatar Jan 04 '23 21:01 nelsonhp3