You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Run command ng serve --open in one terminal instance.
Run command firebase emulators: start in another terminal instance.
Sign in using the phone number in the angular app and check the AuthStatus message on the page. Refresh the page and check the auth status message.
Expected behavior
While using firebase emulators with the angular application I shouldn't get automatically signed out on page refresh when using a phone number account.
Actual behavior
While serving the angular application with ng serve --open whenever the page refreshes, I am automatically signed out of firebase while testing with firebase emulators using a phone number firebase account.
The text was updated successfully, but these errors were encountered:
The solution (for now) is to initialize auth before the database. We're working on improving the JS SDK to make this better, but I am going to close this issue here since the bug is not in the CLI.
Environment info
firebase-tools: 8.16.2
Platform: Ubuntu
Test case
I have created a Stackoverflow question and Github repository to demonstrate the issue.
Steps to reproduce
ng serve --open
in one terminal instance.firebase emulators: start
in another terminal instance.Expected behavior
While using firebase emulators with the angular application I shouldn't get automatically signed out on page refresh when using a phone number account.
Actual behavior
While serving the angular application with
ng serve --open
whenever the page refreshes, I am automatically signed out of firebase while testing with firebase emulators using a phone number firebase account.The text was updated successfully, but these errors were encountered: