firebase / firebase-admin-python

Firebase Admin Python SDK
https://firebase.google.com/docs/admin/setup
Apache License 2.0
1.01k stars 307 forks source link

FR: add sendEmailVerification, sendPasswordResetEmail, sendSignInLink, etc. #161

Open crunk1 opened 6 years ago

crunk1 commented 6 years ago

Environment

Hey all, I would like my server to be able to trigger/send those various email authentication links.

See related: https://github.com/firebase/firebase-admin-node/issues/46

crunk1 commented 6 years ago

Also related: https://github.com/firebase/firebase-admin-node/issues/241

swaterfall commented 5 years ago

Anyone know if there are plans to implement email actions?

hiranya911 commented 5 years ago

Email action links API was implemented in #258

EuclidHeron commented 5 years ago

@hiranya911 Question - are the 'send' going to be implemented soon? Those only seem to generate links. Or am I off?

bojeil-google commented 5 years ago

These APIs are only for generating links. We don't have plans in the short term to send customized emails from the Admin SDK.

EuclidHeron commented 5 years ago

@bojeil-google What about a default email? Is there a way to send an email (I do not care about customization) directly?

bojeil-google commented 5 years ago

There are no plans for that as you can already do it with the client SDK. The Node.js client SDK can do that. The value here is in adding the capability to build customized emails which is not possible in our client SDKs. A lot of developers want this capability which is now possible through these new APIs. Ideally it would be great if we can send the customized emails for the developer too but we are not there yet.

bojeil-google commented 5 years ago

BTW, the REST API is documented here: https://firebase.google.com/docs/reference/rest/auth/#section-send-password-reset-email

EuclidHeron commented 5 years ago

Thank you very much @bojeil-google . So we would just need to make a REST API call from Python? For example using 'http://docs.python-requests.org/en/master/' or urllib.request ?

bojeil-google commented 5 years ago

It's up to you.

naclcaleb commented 4 years ago

Is this still relevant? I'm happy to work on this if it is.

naclcaleb commented 4 years ago

I made an initial PR: #368

hiranya911 commented 4 years ago

Thanks for looking into this Caleb. I've assigned your PR to one of our Auth team members. Stay tuned for an update.

shahargl commented 3 years ago

Any updates?

maccman commented 2 years ago

This is pretty bizarre that it's not in the official API.