Comments (10)
To disable accountChooser.com, use the following config:
'credentialHelper': firebaseui.auth.CredentialHelper.NONE
from firebaseui-web.
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.
It now appears that the config variable 'accountChooserEnabled': false disables the account chooser.
from firebaseui-web.
Just to follow up, this is something we want to work on before the 1.0 milestone. Stay tuned!
from firebaseui-web.
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.
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.
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.
@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.
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.
Thanks @bojeil-google, adding the 'credentialHelper' property to the uiConfig object worked for me...
from firebaseui-web.
Related Issues (20)
- How can I change github redirect_uri in firebase ui parameters? HOT 2
- Firebase Web UI does not work with Next JS 13.5 version onwards (i.e. 13.5.x) HOT 1
- MFA Issue - internal server error 500 HOT 1
- FirebaseUI doesn't work properly in chrome mobile randomly: 20s latency onAuthStateChanged event HOT 7
- Incorrect error message when password requirements not met HOT 3
- Support Firebase JS SDK v9 and v10 HOT 3
- Typescript error when trying to use an async function for signInSuccessWithAuthResult callback HOT 1
- FirebaseUI compatibility with modular SDK HOT 1
- App Check isn't compatible with firebaseUI email login HOT 6
- Impossible to initialize firebase analytics for web
- Twitter authorisation throws "The supplied auth credential is incorrect, malformed or has expired. (auth/invalid-credential)"
- Will this project continue in 2024? HOT 1
- ANONYMOUS USER PROVIDER IS NOT WORKING IN FIREBASE UI HOT 3
- Working FirebaseUI Package for React and Next.js HOT 5
- Facebook logins stopped working on Android devices HOT 6
- Seems like Microsoft login doesn't work properly anymore HOT 1
- Unable to sign-in as cross-site cookies are blocked HOT 3
- Safari does not work on MacOS. It does not work at all on iOS devices - nor Chrome, nor Safari in redirect mode. HOT 1
- Google Sign-in doesn't work when AppCheck is enabled
- Catch all errors from sign in - improvement for signInFailure HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from firebaseui-web.