Support for reauthentication
Is your feature request related to a problem? Please describe.
We need to implement reauthentication of a user's credentials prior to them performing sensitive operations, such as, changing their email address and password for email accounts and other operations in our applications.
The firebase documentation describes various methods for implementing this depending on the provider used to sign-in.
The gist of it (at least with email accounts) looks like the user needs to be prompted for credentials and they need to be passed through a call to user.reauthenticate(credential).
Describe the solution you'd like
It would be great if we could invoke firebaseui-web to perform a reauthentication of a signed-in user which would then perform the appropriate workflow, based on the provider they used, and present the required UI elements.
Describe alternatives you've considered
The alternative is that we have to code our own workflows for different providers and implement our own UI elements.
Hey @gmaughan, we were planning to support this at some point but we decided to punt it until the modularized core SDK is launched, as it will increase the size of the library. We will look into it when we start looking in the modularization of this library.
Thanks @bojeil-google.
I look forward to this and the modularization of the library.
Thank you for taking the time to submit this feature request
This is a great idea and definitely something we can consider for the future. It is not currently prioritised for our immediate new version roadmap, as we are focusing on a new upcoming release.
In the meantime, we will keep this issue open so we can revisit it during a later planning cycle, particularly as we gather more feedback from the community.