Add an AuthUI.reauthenticate() function
See original GitHub issueThere 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:
- Created 7 years ago
- Reactions:12
- Comments:9 (4 by maintainers)
Top 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 >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
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.
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?