Skip to content

Commit f5e9fa9

Browse files
authored
Fix typing issue
1 parent 90b3dad commit f5e9fa9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

keycloak/openid_client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ func (keycloakClient *KeycloakClient) ValidateOpenidClient(ctx context.Context,
126126
return fmt.Errorf("validation error: theme \"%s\" does not exist on the server", client.Attributes.LoginTheme)
127127
}
128128

129-
if (client.Attributes.StandardTokenExchangeEnabled && client.PublicClient) {
129+
if (client.Attributes.StandardTokenExchangeEnabled == "true" && client.PublicClient) {
130130
return fmt.Errorf("validation error: standard token exchange cannot be enabled on public clients")
131131
}
132132

0 commit comments

Comments
 (0)