Skip to content

[Firebase_Auth] Re-authenticate with credential returns platform exception. #1255

Closed
@OliverNarramore

Description

@OliverNarramore

If I use a hypothetical user to re-authenticate,

AuthCredential credential = EmailAuthProvider.getCredential(
        email: "[email protected]", password: "password" );

and then pass this credential to:

 user.reauthenticateWithCredential(credential)
      .whenComplete(() async {
print('complete');
 })
.catchError((e) {
        print(e);
      });

where user was retrieved previously (user = await _auth.currentUser();)

The request returns:

I/BiChannelGoogleApi( 6616): [FirebaseAuth: ] getGoogleApiForMethod() returned Gms: com.google.firebase.auth.api.internal.zzao@64242b7
I/flutter ( 6616): completed
I/flutter ( 6616): PlatformException(FirebaseException, An internal error has occurred. [ 7: ], null)

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions