Skip to content

Comments

Fix fake FxA user auth for local environments#24419

Merged
diox merged 1 commit intomozilla:masterfrom
diox:fix-fake-auth-non-unique-email
Feb 5, 2026
Merged

Fix fake FxA user auth for local environments#24419
diox merged 1 commit intomozilla:masterfrom
diox:fix-fake-auth-non-unique-email

Conversation

@diox
Copy link
Member

@diox diox commented Feb 5, 2026

Now that we allow multiple user profiles to exist with the same email, we attempt to find users by fxa_id first, so we need to set identity['uid'] in fake auth in order to log in with the right user, otherwise we end up creating a new duplicate.

Fixes mozilla/addons#16044

Now that we allow multiple user profiles to exist with the same
email, we attempt to find users by fxa_id first, so we need to set
identity['uid'] in fake auth in order to log in with the right user,
otherwise we end up creating a new duplicate.
@diox diox requested a review from eviljeff February 5, 2026 11:17
@diox diox marked this pull request as ready for review February 5, 2026 11:17
@diox diox merged commit ae577a7 into mozilla:master Feb 5, 2026
45 checks passed
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.

[Bug]: Fake auth for local environments registers new profiles instead of logging in with existing one

2 participants