Repository navigation
website/docs: document how property mapping results are merged - #27284
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 #27284 +/- ##
==========================================
- Coverage 92.46% 92.43% -0.04%
==========================================
Files 1195 1195
Lines 81076 81076
Branches 4497 4497
==========================================
- Hits 74969 74943 -26
- Misses 6041 6067 +26
Partials 66 66
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
Playwright e2eDownload this run's HTML report and traces, then open the report: gh run download 40597263217 -D playwright-artifacts
npx playwright show-report playwright-artifacts/playwright-reportInstallation instructionsInstructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-7fbb58f8a8dd5ed16bf19fdadeab848327b7d816
# Distroless image: AUTHENTIK_TAG=gh-7fbb58f8a8dd5ed16bf19fdadeab848327b7d816-distroless
AUTHENTIK_OUTPOSTS__CONTAINER_IMAGE_BASE=ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)sAfterwards, run the upgrade commands from the latest release notes. Instructions for KubernetesAdd the following block to your authentik:
outposts:
container_image_base: ghcr.io/goauthentik/dev-%(type)s:gh-%(build_hash)s
global:
image:
repository: ghcr.io/goauthentik/dev-server
tag: gh-7fbb58f8a8dd5ed16bf19fdadeab848327b7d816
# Distroless image: tag: gh-7fbb58f8a8dd5ed16bf19fdadeab848327b7d816-distrolessAfterwards, run the upgrade commands from the latest release notes. |
|
🍒 Cherry-pick to |
…y-pick #27284 to version-2026.8) (#27302) website/docs: document how property mapping results are merged (#27284) Co-authored-by: Dominic Roy <[email protected]>
Details
What does this PR change?
Documents how authentik combines the results when several property mappings return the same claim or key: lists are combined without duplicate items, dictionaries are merged key by key, and other values are replaced by the mapping evaluated last. It adds an example with the stock
profilescope mapping and a customgroupsscope mapping, explains how to send a filtered list of groups, and links the SCIM attribute mapping section to these rules.Why is this change needed?
#27283 stops list values from being duplicated when mapping results are merged. The merge rules weren't documented anywhere. Users who add a custom
groupsscope mapping also tend to expect it to replace the groups fromprofile, which it doesn't: the lists are combined, so filtering groups needs a customprofilemapping as well.How was this tested?
Built the docs locally and checked the new section and the anchor link from the SCIM page.
Linked issues
refs #25842
Checklist
make all)make docs)