FirebaseUI-Android icon indicating copy to clipboard operation
FirebaseUI-Android copied to clipboard

Add an AuthUI.reauthenticate() function

Open samtstern opened this issue 8 years ago • 9 comments

There are some Firebase Auth actions that require a recent (~5mins) sign-in to succeed:

  • Delete account (#478)
  • Change email
  • Etc

We should offer a simple method to launch into a re-authentication flow that allows the user to sign in choosing from any of their linked providers.

Considerations:

  • This would likely have to be a method that returns an Intent similar to the sign-in intent
  • The developer will probably want to provide a reason for the re-authentication, maybe passed in
  • This would be similar to the normal sign-in flow with a few alterations:
    • Account creation disabled
    • Account picker screen lists only methods the user has already linked to the FirebaseUser

samtstern avatar Jan 31 '17 21:01 samtstern

Unless there are objections I'm going to start taking a crack at this.

amandle avatar Feb 06 '17 22:02 amandle

Go for it, thanks!

samtstern avatar Feb 06 '17 22:02 samtstern

May I know , what is the current status of this implementation?

nikahmadz avatar Feb 22 '18 14:02 nikahmadz

@nikahmadz this is indefinitely on hold ... @amandle left the project and we are focusing on some other priorities for now.

samtstern avatar Feb 22 '18 16:02 samtstern

FWIW, I'd really love to see this implemented. If I'm reading the comments here correctly, it seems like the work was already done for Android, but never released because it wasn't available on the other platforms. Is it possible to just push the release out for android? I would implement the other devices myself if I had the time, but it seems like a shame to have this stuff ready to go but just waiting on other implementations.

maillouxc avatar May 18 '18 18:05 maillouxc

This is really a necessary feature. I am currently using the unreleased/unsupported iOS FUIAccountSettingsViewController, and it seems to be working for me. But it should be officially released and also available for Android.

At the moment FirebaseAuthUI is a 80% solution for iOS and even less for Android. To be able to change email/password etc i still need to build everything myself and i really start to doubt our decision to use FirebaseAuthUI in the first place.

From the website: "Easily add sign-in to your Android app with FirebaseUI FirebaseUI is a library built on top of the Firebase Authentication SDK that provides drop-in UI flows for use in your app."

No it's not. Not if there is no support to do basic operations like email/password change.

We need either documentation how to handle reauthentication (besides email/password which is documented) or even better, release the FUIAccountSettingsViewController and an Android-port of it.

TeunVR avatar Jun 07 '18 14:06 TeunVR

It's been more than 2 years from its initial progress and more than a year from the last update, did you guys abandon this key feature?

jackz314 avatar May 24 '19 07:05 jackz314

When can we expect the release of this necessary feature? @samtstern

Heldenkrieger01 avatar Apr 14 '20 21:04 Heldenkrieger01

Closing this conversation to prevent more "ETA requested" responses (which actually take time from feature work).

Latest status update: #issuecomment-367736441

Firebase team will update here and potentially unlock thread if/when there is an update.

katowulf avatar Apr 14 '20 22:04 katowulf