Skip to content

[firebase_auth] linking credential to anonymous user #2344

Description

@adworzynski

Calling:

(await _auth.currentUser())
  .linkWithCredential(
    EmailAuthProvider.getCredential(
        email: email,
        password: password,
      ))

on anonymous user case error:

PlatformException(ERROR_USER_TOKEN_EXPIRED, The user's credential is no longer valid. The user must sign in again., null)
flutter: 1.12.13+hotfix.9
firebase_core: ^0.4.4+3
firebase_auth: ^0.15.5+3
cloud_functions: ^0.4.2+3
cloud_firestore: ^0.13.4+2

Metadata

Metadata

Assignees

Labels

blocked: customer-responseWaiting for customer response, e.g. more information was requested.plugin: authresolution: needs-reproThis issue could not be reproduced or needs an up to date reproduction on latest FlutterFire plugin.

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions