-
Notifications
You must be signed in to change notification settings - Fork 251
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
Ui doesn't connect to the auth emulator #118
Comments
I'm also experiencing this issue. From what the auth emulator docs suggest, it seems like it should be as simple as: // initialize app
firebase.auth().useEmulator('http://localhost:9099/'); and the API key + auth domain shouldn't be required? |
It seems like the issue might be in the underlying Firebase Web UI library as there's a similar issue: |
This package's only dependency firebaseui has fixed the underlying issue firebase/firebaseui-web#778 as part of the latest release v4.7.2+. Does this package require any development to enable local auth emulation? Or is it just a case of updating the dependency? |
I made a local patch, and it seems to be working! I haven't done any robust testing, so don't just take my word for it. The local emulator is a real game changer :D. For anyone just looking to get the feature up and running quickly: Update and save the firebaseui dependency inside your local installation of the react-firebaseui package. Optionally, you can keep a record of the temporary patch. |
If you are using Yarn, add this to "resolutions": {
"react-firebaseui/firebaseui": "^4.7.3"
}, Then run |
Any updates to this issue? |
This has been fixed in |
I'm running a create react app with the firestore, functions, database and authentication emulators enabled.
When I try to signup a user, it connects to the live authentication service. The other emulators do work and I also do get the
Running in emulator mode. Do not use with production credentials.
message. If I try non interactive testing it does connect to the emulator.This seems to be a bug or undescribed behaviour although I'm relatively new to Firebase.
The text was updated successfully, but these errors were encountered: