Skip to content

fix(integrations): Scope external user lookup by user - #123525

Draft
sentry-junior[bot] wants to merge 2 commits into
masterfrom
fix/external-user-create-lookup
Draft

fix(integrations): Scope external user lookup by user#123525
sentry-junior[bot] wants to merge 2 commits into
masterfrom
fix/external-user-create-lookup

Conversation

@sentry-junior

@sentry-junior sentry-junior Bot commented Sep 2, 2026

Copy link
Copy Markdown
Contributor

Scope external user creation lookups by the requested Sentry user so one external identity can be mapped to multiple users without raising MultipleObjectsReturned.

Return a 409 conflict if legacy case-variant rows still produce multiple matches for the requested user.

Fixes SENTRY-5TGT

Requested by Christina Long.

--

View Junior Session [Sentry]

Co-Authored-By: Christina Long <christina.long@sentry.io>
@github-actions github-actions Bot added the Scope: Backend Automatically applied to PRs that change backend components label Sep 2, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Scope: Backend Automatically applied to PRs that change backend components

Projects

None yet

Development

Successfully merging this pull request may close these issues.

0 participants