Skip to content

website/docs: document how property mapping results are merged - #27284

Merged
dewi-tik merged 1 commit into
mainfrom
dominic/docs-property-mapping-merge
Oct 28, 2026
Merged

dewi-tik merged 1 commit into
mainfrom
dominic/docs-property-mapping-merge

Conversation

@dominic-r

Copy link
Copy Markdown
Member

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 profile scope mapping and a custom groups scope 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 groups scope mapping also tend to expect it to replace the groups from profile, which it doesn't: the lists are combined, so filtering groups needs a custom profile mapping 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

  • The project has been linted, built, and tested (make all)
  • The documentation has been updated and formatted (make docs)
  • I have read the AI usage policy.

@dominic-r dominic-r added area:docs Features or issues related to Docusaurus backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8 labels Oct 27, 2026
@dominic-r
dominic-r requested a review from a team as a code owner October 27, 2026 22:45
@dominic-r dominic-r self-assigned this Oct 27, 2026
@netlify

netlify Bot commented Oct 27, 2026

Copy link
Copy Markdown

✅ Deploy Preview for authentik-docs ready!

Name Link
🔨 Latest commit 7fbb58f
🔍 Latest deploy log https://app.netlify.com/projects/authentik-docs/deploys/6ae1299ef8758a38a1060af4
😎 Deploy Preview https://deploy-preview-27284--authentik-docs.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify project configuration.

@codecov

codecov Bot commented Oct 27, 2026 •

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 92.43%. Comparing base (9bbdfd9) to head (7fbb58f).
✅ All tests successful. No failed tests found.

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              
Flag Coverage Δ
conformance 32.15% <ø> (+<0.01%) ⬆️
e2e 36.81% <ø> (+<0.01%) ⬆️
integration 28.69% <ø> (-0.35%) ⬇️
rust 45.98% <ø> (ø)
unit 94.11% <ø> (+<0.01%) ⬆️
unit-migrate 94.11% <ø> (+<0.01%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

@github-actions

github-actions Bot commented Oct 27, 2026 •

Copy link
Copy Markdown
Contributor

Playwright e2e

Download 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-report

Installation instructions

Instructions for docker-compose

Add the following block to your .env file:

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)s

Afterwards, run the upgrade commands from the latest release notes.

Instructions for Kubernetes

Add the following block to your values.yml file:

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-distroless

Afterwards, run the upgrade commands from the latest release notes.

@dewi-tik
dewi-tik merged commit effa9e4 into main Oct 28, 2026
171 checks passed
@dewi-tik
dewi-tik deleted the dominic/docs-property-mapping-merge branch October 28, 2026 09:37
@authentik-cherry-pick

Copy link
Copy Markdown
Contributor

🍒 Cherry-pick to version-2026.8 created: #27302

dewi-tik pushed a commit that referenced this pull request Oct 28, 2026
…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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

area:docs Features or issues related to Docusaurus backport/version-2026.8 Add this label to PRs to backport changes to version-2026.8

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants