Repository navigation
sources/saml: add audience override field for SAML sources - #25029
Conversation
✅ Deploy Preview for authentik-docs ready!
To edit notification comments on pull requests, go to your Netlify project configuration. |
There was a problem hiding this comment.
Pull request overview
Adds a new configuration field on SAMLSource intended to support overriding the SAML Audience value used/expected for SAML source interactions.
Changes:
- Add
audience_overridefield toSAMLSourcemodel. - Add Django migration to create the new database column.
Reviewed changes
Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| authentik/sources/saml/models.py | Adds the audience_override model field (with help text). |
| authentik/sources/saml/migrations/0025_samlsource_audience_override.py | Adds the database migration for audience_override. |
💡 Add a code-review agent skill or configure MCP servers for context-aware, tailored reviews. Learn more in the docs.
| audience_override = models.TextField( | ||
| blank=True, | ||
| default="", | ||
| help_text=_("Audience value this IdP sends for authentik."), | ||
| ) |
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #25029 +/- ##
==========================================
- Coverage 91.49% 91.46% -0.04%
==========================================
Files 1150 1150
Lines 72619 72620 +1
Branches 3875 3875
==========================================
- Hits 66444 66420 -24
- Misses 6140 6165 +25
Partials 35 35
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. |
|
🍒 Cherry-pick to |
|
authentik PR Installation instructions Instructions for docker-composeAdd the following block to your AUTHENTIK_IMAGE=ghcr.io/goauthentik/dev-server
AUTHENTIK_TAG=gh-931d63745da2d3ab1678a7855ed6ac599fa581ad
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-931d63745da2d3ab1678a7855ed6ac599fa581adAfterwards, run the upgrade commands from the latest release notes. |
#25029 to version-2026.8) (#25033) sources/saml: add audience override field for SAML sources (#25029) Co-authored-by: Emil Burzo <[email protected]>
Should we keep the name simply as
Audience?Or should we be more specific like
Audience RestrictionorAudience URI?