question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Add an AuthUI.reauthenticate() function

See original GitHub issue

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

Issue Analytics

  • State:open
  • Created 7 years ago
  • Reactions:12
  • Comments:9 (4 by maintainers)

github_iconTop GitHub Comments

9reactions
TeunVRcommented, Jun 8, 2018

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.

7reactions
jackz314commented, May 24, 2019

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?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Easily add sign-in to your Web app with FirebaseUI - Google
In the Firebase console, open the Authentication section. On the Sign in method tab, enable the Email/Password provider. Note that email/password sign-in must ......
Read more >
Android FirebaseUI Auth - How to reauthenticate?
FirebaseUser user = FirebaseAuth.getInstance().getCurrentUser(); // Get auth credentials from the user for re-authentication. The example below ...
Read more >
FirebaseUI for Web — Auth - Firebase Open Source
To use FirebaseUI to authenticate users you first need to configure each ... <script type="text/javascript"> initApp = function() { firebase.auth().
Read more >
Auth UI - Supabase
Auth UI is a pre-built React component for authenticating users. ... from '@supabase/auth-ui-react' const App = () => ( <Auth supabaseClient={supabase} ...
Read more >
How to add Firebase Authentication into your Android App ...
FirebaseUI handles the button placement, logos and sizes for you. The buttons are all functional, however we need to implement onActivityResult first to...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found