Skip to content

Is it possible to add options to update users' email and password? #456

@Magnarks

Description

@Magnarks

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions