Skip to content
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

Fix #1466: Don't create a new user when primary email changes #1469

Merged
merged 1 commit into from
Aug 28, 2024

Conversation

robhudson
Copy link
Contributor

@robhudson robhudson commented Aug 2, 2024

When a user changes their primary email, without the fxa_id in the lookup, basket would query CTMS and get no response and treated this as a new user creating a new user in CTMS with the new email. By including the fxa_id, we are able to find the user and process the oauth flow correctly, sending the user on to the prefs center.

@robhudson robhudson force-pushed the 1466-fix-new-user-when-primary-email-changed branch from 2a46b35 to 5e371da Compare August 13, 2024 12:58
@robhudson robhudson marked this pull request as ready for review August 13, 2024 13:07
@robhudson robhudson requested a review from pmac August 13, 2024 13:07
Copy link
Member

@pmac pmac left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

💯

@robhudson robhudson merged commit d9c4cd6 into main Aug 28, 2024
1 check passed
@robhudson robhudson deleted the 1466-fix-new-user-when-primary-email-changed branch August 28, 2024 18:17
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