Skip to content

fix(admin): generate_link: Return correct token for "email_change_new" link#2537

Open
bnjmnt4n wants to merge 1 commit into
supabase:masterfrom
bnjmnt4n:admin/generate-link/email-change-new
Open

fix(admin): generate_link: Return correct token for "email_change_new" link#2537
bnjmnt4n wants to merge 1 commit into
supabase:masterfrom
bnjmnt4n:admin/generate-link/email-change-new

Conversation

@bnjmnt4n
Copy link
Copy Markdown
Contributor

What kind of change does this PR introduce?

Bug fix.

What is the current behavior?

I attempted to use the hashed_token returned in the /admin/generate_link response to verify the email change, however it appears that the token returned is invalid since it references the previous email instead of the new one.

What is the new behavior?

The newly constructed token is returned in the response instead.

Additional context

N/A.

…" link

I attempted to use the `hashed_token` returned in the
`/admin/generate_link` response to verify the email change, however it
appears that the token returned is invalid since it references the
previous email instead of the new one.
@bnjmnt4n bnjmnt4n marked this pull request as ready for review May 19, 2026 11:12
@bnjmnt4n bnjmnt4n requested a review from a team as a code owner May 19, 2026 11:12
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.

1 participant