Skip to content

Auth emulator not used with currentUser.linkWithPopup  #4879

Closed
@patelnav

Description

@patelnav

[REQUIRED] Describe your environment

  • Operating System version: macOS 11.3.1 (20E241)
  • Browser version: Version 90.0.4430.93 (Official Build) (x86_64)
  • Firebase SDK version: 9.10.2
  • Firebase Product: auth

[REQUIRED] Describe the problem

currentUser.linkWithPopup doesn't use auth emulator, instead going to accounts.google.com

Steps to reproduce:

Enable emulator using auth.useEmulator(...)
Login with auth.signInAnonymously()
Attempt to link with popup

auth.currentUser.linkWithPopup(new firebase.auth.GoogleAuthProvider()) 
PROBLEM:

Screen Shot 2021-05-07 at 12 48 54 AM

Note: javascript auth.signInWithPopup(new firebase.auth.GoogleAuthProvider()) (skipping anonymous login) works as desired:
Screen Shot 2021-05-07 at 12 49 25 AM

Metadata

Metadata

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions