firebase-admin-python icon indicating copy to clipboard operation
firebase-admin-python copied to clipboard

[FR] Send password reset email function

Open bverhoeve opened this issue 3 years ago • 6 comments

Is your feature request related to a problem? Please describe. Via firebase_admin_auth I'm able to create and manage users. When I want to generate a password reset email through the default Firebase functionality (Firebase sends the email), I'm not able to do this through the Admin SDK, as only generate_password_reset_link is supported. I have to resort to sending a REST API call instead.

Describe the solution you'd like Support a send_password_reset_email function that sends an email via Firebase to reset her password, similar to the Node.js client.

Describe alternatives you've considered Sending a REST API call through HTTP.

bverhoeve avatar May 23 '22 12:05 bverhoeve

I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.

google-oss-bot avatar May 23 '22 12:05 google-oss-bot

@hiranya911 I'd like to work on this feature request!

santhoshivan23 avatar Jun 13 '22 07:06 santhoshivan23

Thank you @bverhoeve and @santhoshivan23. The Admin SDK (including the Node.js SDK) does not support sending emails. You will have to generate the email links and use your own or a third party SMTP sever to send the email.

We have a similar request for Node.js SDK https://github.com/firebase/firebase-admin-node/issues/46 however, the backend APIs currently do not support sending emails and adding backend support is also not that straightforward.

lahirumaramba avatar Jun 28 '22 21:06 lahirumaramba

@lahirumaramba, My bad, the function I'm referring to in the issue is the sendPasswordResetEmail in the JavaScript client. How come this is not available in the Node.js client?

bverhoeve avatar Jun 29 '22 15:06 bverhoeve