Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow configuring SAML Signuture Key Name #529

Closed
wants to merge 1 commit into from
Closed

Allow configuring SAML Signuture Key Name #529

wants to merge 1 commit into from

Conversation

torstenwalter
Copy link

@torstenwalter torstenwalter commented May 11, 2021

image

@torstenwalter torstenwalter changed the title adding variable into json field for SAML Client Allow configuring SAML Signuture Key Name May 11, 2021
@torstenwalter torstenwalter marked this pull request as ready for review May 11, 2021 13:18
Copy link
Owner

@mrparkers mrparkers left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the PR! it looks like you just missed one thing here

@@ -93,6 +94,12 @@ func resourceKeycloakSamlClient() *schema.Resource {
Optional: true,
ValidateFunc: validation.StringInSlice(keycloakSamlClientSignatureAlgorithms, false),
},
"signature_key_name": {
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

since we never call a data.Get or data.Set for this schema attribute, it is essentially ignored. take a look at the mapToSamlClientFromData and mapToDataFromSamlClient functions to see where these should be added.

@mrparkers mrparkers linked an issue May 28, 2021 that may be closed by this pull request
@torstenwalter torstenwalter deleted the feature-fix-signaturekeyname branch November 10, 2021 12:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[SAML client] - Support for SAML Signature Key Name
2 participants