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

Add option ExcludeSessionStateFromAuthResponse on OpenIdClient #191

Conversation

daviddesre
Copy link
Contributor

@daviddesre daviddesre commented Dec 30, 2019

Allows to set exclude_session_state_from_auth_response flag on Keycloak OpenID clients

Copy link
Contributor

@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.

Looks good, just one small nitpick

@@ -48,7 +48,8 @@ type OpenidClient struct {
}

type OpenidClientAttributes struct {
PkceCodeChallengeMethod string `json:"pkce.code.challenge.method"`
PkceCodeChallengeMethod string `json:"pkce.code.challenge.method"`
ExcludeSessionStateFromAuthResponse bool `json:"exclude.session.state.from.auth.response,string"`
Copy link
Contributor

Choose a reason for hiding this comment

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

We typically use KeycloakBoolQuoted for these annoying boolean attributes that are actually strings. https://github.com/mrparkers/terraform-provider-keycloak/blob/master/keycloak/util.go#L10

Copy link
Contributor Author

@daviddesre daviddesre Jan 6, 2020

Choose a reason for hiding this comment

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

Thanks, i fixed it :)

@mrparkers mrparkers merged commit eb6cebc into keycloak:master Jan 8, 2020
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.

2 participants