Repository navigation
website/docs: document exchanging a token for a SAML response - #27311
Conversation
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #27311 +/- ##
=======================================
Coverage 92.48% 92.48%
=======================================
Files 1197 1197
Lines 81116 81153 +37
Branches 4497 4497
=======================================
+ Hits 75017 75055 +38
+ Misses 6033 6032 -1
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. |
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
Playwright e2eDownload this run's HTML report and traces, then open the report: gh run download 40870614311 -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-ffce26bc2fb84741fbd16d6dab580018609589a6
# Distroless image: AUTHENTIK_TAG=gh-ffce26bc2fb84741fbd16d6dab580018609589a6-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-ffce26bc2fb84741fbd16d6dab580018609589a6
# Distroless image: tag: gh-ffce26bc2fb84741fbd16d6dab580018609589a6-distrolessAfterwards, run the upgrade commands from the latest release notes. |
Co-authored-by: Jens L. <[email protected]> Signed-off-by: Dominic Roy <[email protected]>
Details
What does this PR change?
Adds a section to the token exchange docs on requesting a SAML response with
requested_token_type=urn:ietf:params:oauth:token-type:saml2. It covers howaudienceselects the SAML provider's application, the response fields, which SAML provider settings shape the response, the Federated OAuth2/OpenID Providers trust on the SAML provider, and the errors returned when a requirement isn't met. It also lists the new requested token type and where the setting lives on a SAML provider.Why is this change needed?
#27135 added token exchange for SAML responses, mainly so that services can call AWS
AssumeRoleWithSAML, but nothing documents how to request one or how to set up the trust.How was this tested?
Checked each statement against
token_exchange.py, the token view, andtest_token_exchange_saml.py, including theinvalid_targetandinvalid_grantcases and the SAML provider form label. I did not build the docs locally.Linked issues
refs #27135
Checklist
make all)make docs)