question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Ui doesn't connect to the auth emulator

See original GitHub issue

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.

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Reactions:4
  • Comments:7 (1 by maintainers)

github_iconTop GitHub Comments

4reactions
alexmcmanuscommented, Feb 5, 2021

If you are using Yarn, add this to package.json:

  "resolutions": {
    "react-firebaseui/firebaseui": "^4.7.3"
  },

Then run yarn install again.

1reaction
interactive-web-devcommented, Feb 4, 2021

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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found