firebase-admin-python
firebase-admin-python copied to clipboard
[FR] Send password reset email function
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.
I couldn't figure out how to label this issue, so I've labeled it for a human to triage. Hang tight.
@hiranya911 I'd like to work on this feature request!
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, 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?