firebase / firebase/firebase-tools
Emulator: Unlink password auth provider removes email address from user
Open
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.
### 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
Assessment
This issue has not been assessed yet.