-
Notifications
You must be signed in to change notification settings - Fork 531
Description
Greetings, I am making a desktop application for my users who already use a web application, but it turns out that when I wanted to add the option to restore password, pyrebase does not have an option to directly update the new password, something that the Javascript SDK or the official Python SDK have (I do not use it, because it does not have a method to authenticate users) and I would like to know if it is possible to add this to Pyrebase, so as not to depend on firebase_admin and thus my application does not have to use 2 libraries for firebase.
I share an example of the process in Javascript
import { getAuth, updatePassword } from "firebase/auth";
const auth = getAuth();
const user = auth.currentUser;
const newPassword = getASecureRandomPassword();
updatePassword(user, newPassword).then(() => {
// Update successful.
}).catch((error) => {
// An error occurred
//...
});
I hope it will be possible to add it in the future, because pyrebase already allows updating other user data similar to javascript, such as the display name, or photo URL.
Thanks.