Skip to content

[auth] Not giving "password" providerId #6054

Open
@Lyokone

Description

@Lyokone

[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:firebase/flutterfire#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()));
              }
            });

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions