Repository navigation
providers/scim: fix scim user conflict resolution - #25998
Merged
BeryJu merged 2 commits intoSep 10, 2026
Merged
Conversation
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #25998 +/- ##
==========================================
- Coverage 91.86% 91.83% -0.03%
==========================================
Files 1169 1169
Lines 75451 75469 +18
Branches 4054 4054
==========================================
- Hits 69310 69308 -2
- Misses 6099 6119 +20
Partials 42 42
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
BeryJu
approved these changes
Sep 10, 2026
Contributor
|
🍒 Cherry-pick to |
Contributor
|
🍒 Cherry-pick to |
BeryJu
added a commit
that referenced
this pull request
Sep 21, 2026
…to version-2026.8) (#26025) providers/scim: fix scim user conflict resolution (#25998) fix scim user conflict resolution Co-authored-by: Ryan Pesek <[email protected]> Co-authored-by: Jens L. <[email protected]> Co-authored-by: Dominic Roy <[email protected]>
GirlBossRush
pushed a commit
that referenced
this pull request
Nov 28, 2026
fix scim user conflict resolution Co-authored-by: Jens L. <[email protected]>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Details
What does this PR change?
Fixes SCIM user conflict recovery by normalizing the top-level list response before reading its resources.
Adds regression tests for both standard Resources and lowercase resources response keys.
Why is this change needed?
When POST /Users returns HTTP 409, authentik searches for the existing remote user. The response handling normalized the resources list instead of the response dictionary, causing recovery to either miss the user or raise AttributeError. This issue was introduced in #24441 and present in 2026.8.0+ and 2026.5.7
How was this tested?
Checklist
make all)make docs)