简体   繁体   中英

Flutter firebase reset password without log-in

Is it possible to reset firebase user password without logged-in. I am implementing forget-password screen where the user enter their email address and will send OTP to user email address, OTP is stored in firebase database collection. once OTP is verified then they can reset their password from flutter app itself.

Thanks,

Firebase SDKs correlated with the client-side only permit users to send password reset to the signed-in user because other calls can be an abusive factor. Unfortunately , there is no way to send password reset information to a user based on their email address alone.

If you want to implement this feature, you must do it by yourself. You can learn more at this link: https://firebase.google.com/docs/auth/admin/manage-users#update_a_user

Moreover, you can check out this article to implement this functionality related to the backend: Send Firebase Reset Password Email After Account Created On Server/Admin

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM