Skip to content

add 'VERIFY_AND_CHANGE_EMAIL' linkType for generateEmailActionLink #705

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Draft
wants to merge 5 commits into
base: master
Choose a base branch
from

Conversation

utamori
Copy link

@utamori utamori commented Jul 10, 2025

Summary

  • Add support for VERIFY_AND_CHANGE_EMAIL linkType in Firebase Auth email action links
  • Implement VerifyAndChangeEmailLink and VerifyAndChangeEmailLinkWithSettings methods
  • Add comprehensive tests for the new functionality including tenant integration tests

Changes

  • Added verifyAndChangeEmail linkType constant
  • Updated generateEmailActionLink to accept optional newEmail parameter
  • Added new public methods for verify and change email functionality
  • Updated existing methods to use the new signature
  • Added unit tests and integration tests

Test plan

  • Unit tests for new functionality
  • Integration tests for tenant-aware scenarios
  • Existing tests continue to pass

This addresses the feature request in #470 by providing the ability to generate email action links for email verification and change flows.

@utamori utamori marked this pull request as draft July 10, 2025 12:47
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants