firebase / firebase/firebase-admin-node

Request Auth method to generate a "revoke email address change" link

Aperta
#1,614 11 commenti 8 reazioni 1 assegnatario Rivendicata da @Xiaoshouzi-gh Vedi su GitHub
api: auth type: feature request
Lingua principale
TypeScript
Stelle
1.7k
Fork
419
Merge medio
3g 10h
PR unite (30g)
16

Descrizione

Environment:

* Firebase SDK version: 10.0.2
* Firebase Product: auth
* Node.js version: 14

I have a cloud function that calls the admin auth function "updateUser" to change the email address for a user. This method of changing a user's email address does not trigger the automated "Email address change" email, which is what I want, as the standard Firebase email templates do not look very professional.

I would like to send my own formatted email, but need a function to generate the revocation link, in the same way I generate links for password resets (admin.auth().generatePasswordResetLink) and verify email address (admin.auth().generateEmailVerificationLink), but there doesn't seem to be one.

I would like to make a feature request for such a function (unless there is some other way of generating it?).

Thanks

Guida per i contributori

Apri la guida per i contributori

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.