firebase / firebase/firebase-tools

Emulator: Unlink password auth provider removes email address from user

Open
#10,517 2 comments 0 reactions 0 assignees View on GitHub
api: auth reproducible
Dominant language
TypeScript
Stars
4.5k
Forks
1.3k
Avg merge
1d 12h
Merged PRs (30d)
84

Description

### Operating System

macOS

### Environment (if applicable)

web

### Firebase SDK Version

firebase@12.12.1

### Firebase SDK Product(s)

Firestore, Auth

### Project Tooling

Vue webapp

### Detailed Problem Description

In emulator when I call `firebase.auth().currentUser?.unlink('password')` the user email is removed from the emulator auth user. This behaviour is different from the online firebase auth.

Image

### Steps and code to reproduce issue

in emulator:
1. register user with username + pw
2. connect google account
3. unlink password `firebase.auth().currentUser?.unlink('password')`

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.