Giter VIP home page Giter VIP logo

Comments (10)

bojeil-google avatar bojeil-google commented on August 15, 2024 18

To disable accountChooser.com, use the following config:
'credentialHelper': firebaseui.auth.CredentialHelper.NONE

from firebaseui-web.

rlansky avatar rlansky commented on August 15, 2024 6

If you are looking for an easy work-around to this problem, you can download the firebase-ui-auth.js file, make a one character change to the file, serve it up locally, and now it'll never show this picker.

Once you download the file, look for the text that reads: "accountChooserEnabled",!0

Once you find that, change the !0 to be !1

When you serve that version of the file from your server, it'll now never show the account chooser.

from firebaseui-web.

darrinm avatar darrinm commented on August 15, 2024 3

It now appears that the config variable 'accountChooserEnabled': false disables the account chooser.

from firebaseui-web.

alfongj avatar alfongj commented on August 15, 2024 2

Just to follow up, this is something we want to work on before the 1.0 milestone. Stay tuned!

from firebaseui-web.

courthead avatar courthead commented on August 15, 2024 2

Thanks @alfongj! If this is a blocker for anyone else reading this, you can simply implement a custom username/password login in addition to using this plugin, and display the two alongside each other seamlessly. I'm doing that here: https://www.indiehackers.com/sign-in

from firebaseui-web.

erlgry avatar erlgry commented on August 15, 2024

It would indeed be nice to have an option to disable the account chooser. It is confusing in that the account chooser and the google sign in screens look very similar. Further accountchooser.com is not something the end users understand or trust. Thus if an option to disable the account chooser was made available, in that case it would also be nice to display the email sign in form in-line, without the redirect or popup mode.

from firebaseui-web.

neelavar avatar neelavar commented on August 15, 2024

I'd certainly agree with this issue of making 'accountChooser' optional.

The hack provided by rlansky works perfect.
It would be useful to add this 'accountChooserEnabled' into the Config Options.

from firebaseui-web.

indiespace avatar indiespace commented on August 15, 2024

@darrinm is right, it's been added. I can confirm it works too by adding the following to the config...

'accountChooserEnabled': false

Thanks @bojeil-google

from firebaseui-web.

TMSCH avatar TMSCH commented on August 15, 2024

This configuration parameter is not yet exposed, and won't work once we officially support this feature as part of the 1.0.0 release as it will be a different name. I would advise not to rely on this being the correct parameter until release 1.0.0.

from firebaseui-web.

enun03 avatar enun03 commented on August 15, 2024

Thanks @bojeil-google, adding the 'credentialHelper' property to the uiConfig object worked for me...

from firebaseui-web.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.