Ui doesn't connect to the auth emulator
See original GitHub issueI’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.
Issue Analytics
- State:
- Created 3 years ago
- Reactions:4
- Comments:7 (1 by maintainers)
Top Results From Across the Web
Connect your app to the Authentication Emulator - Firebase
Emulated phone/SMS authentication · In the Emulator Suite UI, click the Authentication tab. · Click the Add user button. · Follow the user...
Read more >javascript - app does not connect to firebase emulators but ...
I have a react app connected to firebase project. On running firebase emulators:start I get the following output. Now When I go to...
Read more >Firebase Authentication Emulator Feature Tutorial! - YouTube
Firebase Authentication Emulator Feature Tutorial! Watch later. Share. Copy link. Info. Shopping. Tap to unmute. If playback doesn't begin ...
Read more >Using Firebase Emulator Suite and React for local-first ...
Authentication and · Firestore emulators. Accept the default ports for each emulator, make sure to enable the Emulator UI, and download the ...
Read more >FirebaseUI for Auth - Firebase Open Source
FirebaseUI is an open-source library that offers simple, customizable UI bindings on top of the core Firebase SDKs. It aims to eliminate boilerplate...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
If you are using Yarn, add this to
package.json
:Then run
yarn install
again.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 😄.
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.
cd <package_path> && npx i firebaseui@latest --save
Optionally, you can keep a record of the temporary patch.
npx patch-package react-firebaseui
.