Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions authentik/sources/saml/api/source.py
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ class Meta:
"group_matching_mode",
"pre_authentication_flow",
"issuer_override",
"audience_override",
"url_issuer",
"sso_url",
"slo_url",
Expand Down Expand Up @@ -82,6 +83,7 @@ class SAMLSourceViewSet(UsedByMixin, ModelViewSet):
"user_matching_mode",
"pre_authentication_flow",
"issuer_override",
"audience_override",
"sso_url",
"slo_url",
"allow_idp_initiated",
Expand Down
5 changes: 5 additions & 0 deletions blueprints/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -15980,6 +15980,11 @@
"title": "Issuer override",
"description": "Also known as Entity ID. Defaults to the Metadata URL."
},
"audience_override": {
"type": "string",
"title": "Audience override",
"description": "Audience value this IdP sends for authentik."
},
"sso_url": {
"type": "string",
"minLength": 1,
Expand Down
5 changes: 5 additions & 0 deletions packages/client-ts/src/apis/SourcesApi.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions packages/client-ts/src/models/PatchedSAMLSourceRequest.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions packages/client-ts/src/models/SAMLSource.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions packages/client-ts/src/models/SAMLSourceRequest.ts

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

13 changes: 13 additions & 0 deletions schema.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26040,6 +26040,10 @@ paths:
name: allow_idp_initiated
schema:
type: boolean
- in: query
name: audience_override
schema:
type: string
- in: query
name: authentication_flow
schema:
Expand Down Expand Up @@ -53423,6 +53427,9 @@ components:
issuer_override:
type: string
description: Also known as Entity ID. Defaults to the Metadata URL.
audience_override:
type: string
description: Audience value this IdP sends for authentik.
sso_url:
type: string
minLength: 1
Expand Down Expand Up @@ -57459,6 +57466,9 @@ components:
issuer_override:
type: string
description: Also known as Entity ID. Defaults to the Metadata URL.
audience_override:
type: string
description: Audience value this IdP sends for authentik.
url_issuer:
type: string
description: Get the resolved Issuer, falling back to the metadata URL when
Expand Down Expand Up @@ -57668,6 +57678,9 @@ components:
issuer_override:
type: string
description: Also known as Entity ID. Defaults to the Metadata URL.
audience_override:
type: string
description: Audience value this IdP sends for authentik.
sso_url:
type: string
minLength: 1
Expand Down
13 changes: 13 additions & 0 deletions web/src/admin/sources/saml/SAMLSourceForm.ts
Original file line number Diff line number Diff line change
Expand Up @@ -302,6 +302,19 @@ export class SAMLSourceForm extends BaseSourceForm<SAMLSource> {
${msg("Also known as Entity ID. Defaults to the Metadata URL.")}
</p>
</ak-form-element-horizontal>
<ak-form-element-horizontal
label=${msg("Audience override")}
name="audienceOverride"
>
<input
type="text"
value="${ifDefined(this.instance?.audienceOverride)}"
class="pf-c-form-control"
/>
<p class="pf-c-form__helper-text">
${msg("Audience value this IdP sends for authentik.")}
</p>
</ak-form-element-horizontal>
<ak-form-element-horizontal
label=${msg("NameID Policy")}
required
Expand Down
Loading