Skip to content

Commit

Permalink
feat: add support for Keycloak attribute saml.assertion.signature (#…
Browse files Browse the repository at this point in the history
…723)

## Description
Adds support for Keycloak attribute `saml.assertion.signature`. This is
the "Sign assertions" toggle shown in the Keycloak UI.

## Related Issue
...

## Type of change

- [ ] Bug fix (non-breaking change which fixes an issue)
- [X] New feature (non-breaking change which adds functionality)
- [ ] Other (security config, docs update, etc)

## Checklist before merging

- [X] Test, docs, adr added or updated as needed
- [x] [Contributor
Guide](https://github.com/defenseunicorns/uds-template-capability/blob/main/CONTRIBUTING.md)
followed
  • Loading branch information
JeffResc authored Sep 4, 2024
1 parent 16d208a commit 0e1a3da
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions docs/configuration/uds-operator.md
Original file line number Diff line number Diff line change
Expand Up @@ -217,6 +217,7 @@ The SSO spec supports a subset of the Keycloak attributes for clients, but does
- oauth2.device.authorization.grant.enabled
- pkce.code.challenge.method
- client.session.idle.timeout
- saml.assertion.signature
- saml.client.signature
- saml_assertion_consumer_url_post

Expand Down
1 change: 1 addition & 0 deletions src/pepr/operator/crd/validators/package-validator.spec.ts
Original file line number Diff line number Diff line change
Expand Up @@ -471,6 +471,7 @@ describe("Test Allowed SSO Client Attributes", () => {
"oauth2.device.authorization.grant.enabled": "true",
"pkce.code.challenge.method": "S256",
"client.session.idle.timeout": "3600",
"saml.assertion.signature": "false",
"saml.client.signature": "false",
saml_assertion_consumer_url_post: "https://nexus.uds.dev/saml",
},
Expand Down
1 change: 1 addition & 0 deletions src/pepr/operator/crd/validators/package-validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,6 +89,7 @@ export async function validator(req: PeprValidateRequest<UDSPackage>) {
"oauth2.device.authorization.grant.enabled",
"pkce.code.challenge.method",
"client.session.idle.timeout",
"saml.assertion.signature",
"saml.client.signature",
"saml_assertion_consumer_url_post",
]);
Expand Down

0 comments on commit 0e1a3da

Please sign in to comment.