firebase / firebase/firebase-admin-node

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

Open
#1,614 11 comments 8 reactions 1 assignee Claimed by @Xiaoshouzi-gh View on GitHub
api: auth type: feature request
Dominant language
TypeScript
Stars
1.7k
Forks
419
Avg merge
3d 10h
Merged PRs (30d)
16

Description

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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.