firebase / firebase/firebase-android-sdk

[auth] Not giving "password" providerId

Open
#6,054 3 comments 0 reactions 1 assignee Claimed by @bhparijat View on GitHub
api: auth type: bug
Dominant language
Java
Stars
2.6k
Forks
710
Avg merge
2d 23h
Merged PRs (30d)
34

Description

### [REQUIRED] Step 2: Describe your environment

* Android Studio version: latest
* Firebase Component: Auth (Database, Firestore, Storage, Functions, etc)
* Component version: latest

### [REQUIRED] Step 3: Describe the problem

#### Steps to reproduce:

When sign in using email and password, the providerId is null, whereas on iOS it's "password".
First reported here:https://github.com/firebase/flutterfire/issues/12985

#### Relevant Code:

```
firebaseAuth
.signInWithEmailAndPassword(email, password)
.addOnCompleteListener(
task -> {
if (task.isSuccessful()) {
// task.getResult().getAdditionalUserInfo().getProviderId() is null
} else {
result.error(
FlutterFirebaseAuthPluginException.parserExceptionToFlutter(
task.getException()));
}
});
```

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.