forked from arnesson/cordova-plugin-firebase
-
-
Notifications
You must be signed in to change notification settings - Fork 467
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
Reauthenticate with email and password #486
Comments
Hi @bergergit I heaved this problem too. The better solution is create a function that changes the user email and return a authentication token to you re-authenticate the user. |
dpa99c
added
the
ready for release
Something has been implemented and is awaiting release to npm
label
Sep 15, 2020
dpa99c
removed
the
ready for release
Something has been implemented and is awaiting release to npm
label
Sep 15, 2020
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Feature request
Hello there!
When executing sensitive changes like updating an email or password, we need to reauthenticate users
Looking at the documentation, for Apple or Google sign in, we can get a credential using authenticateUserWithApple / authenticateUserWithGoogle and then use it to reauthenticate with credential
To reauthenticate users with email and password, we would need to create a credential by creating an EmailAuthProvider (Android and iOS) with Email and Password, and then pass it to the signInWithCredential above. But apparently, we can't create an EmailAuthProvider with the current plugin implementation.
Android example
From the documentation, I don't see a way to do this.
Is this feature really missing?
Thank you for your support!
The text was updated successfully, but these errors were encountered: