firebase / firebase-admin-go

Firebase Admin Go SDK
Apache License 2.0
1.13k stars 242 forks source link

FR: add 'VERIFY_AND_CHANGE_EMAIL' linkType for generateEmailActionLink #470

Open tyahha opened 2 years ago

tyahha commented 2 years ago

environment

Describe the problem

I want to send custom email when your change email. And I want to verify email before change email. Firebase Client SDK have this feature, but Firebase admin sdk have not feature to generate this type email action link. So, As other email action link types, "EMAIL_SIGNIN", "VERIFY_EMAIL", "PASSWORD_RESET", I want to add feature to generation email action link of "VERIFY_AND_CHANGE_EMAIL" type.

This is an earlier version, but a modified version is available. https://github.com/tyahha/firebase-admin-go/commit/2d00814367245fc692bd4fcbb1785411149a1b63

If there are no problems, rebase to the latest version, add the test code, and create a pull request.