Skip to content

com.google.firebase.auth.FirebaseAuthRecentLoginRequiredException: This operation is sensitive and requires recent authentication. Log in again before retrying this request. #2129

Open
@RachitTechnology

Description

@RachitTechnology

Welcome to FirebaseUI and thanks for submitting an issue!

Please take a look at open issues, as well as resolved issues, to see if your issue is either already being addressed, or has been solved by someone else.

If not, please feel free to fill in the following info so we can help faster!

Step 1: Are you in the right place?

Yes

Step 2: Describe your environment

  • Android device: all
  • Android OS version: all
  • Google Play Services version: all
  • Firebase/Play Services SDK version: all
  • FirebaseUI version: all

Step 3: Describe the problem:

While calling AuthUI.getInstance()
.delete(getApplicationContext()) it throws an exception
com.google.firebase.auth.FirebaseAuthRecentLoginRequiredException: This operation is sensitive and requires recent authentication. Log in again before retrying this request.

What is proper way to re authenticate user?

Steps to reproduce:

Call - AuthUI.getInstance()
.delete(getApplicationContext()) it throws an exception

Observed Results:

task.isSuccessful() returns false with above exception

Expected Results:

A reauthenticate method to check and send user to authenticate in case of above exception

Relevant Code:

// TODO(you): code here to reproduce the problem

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions