Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
RachitTechnology opened this issue May 24, 2023 · 0 comments

Comments

@RachitTechnology
Copy link

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant