Skip to content

feat: enhance Keycloak client configuration with additional fields for redirect URIs, logout settings, and URLs#141

Merged
lghinet merged 5 commits into
mainfrom
keycloak
Jul 23, 2026
Merged

feat: enhance Keycloak client configuration with additional fields for redirect URIs, logout settings, and URLs#141
lghinet merged 5 commits into
mainfrom
keycloak

Conversation

@lghinet

@lghinet lghinet commented Jul 23, 2026

Copy link
Copy Markdown
Contributor

No description provided.

Copilot AI review requested due to automatic review settings July 23, 2026 11:23
@lghinet lghinet self-assigned this Jul 23, 2026

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Enhances the KeycloakClient custom resource and its Pulumi-based provisioner to support additional Keycloak client configuration fields (URLs, redirect URIs, PKCE, web origins, and front-channel logout), and updates the generated artifacts/CRDs accordingly. The PR also includes unrelated HelmReleaseV2 CRD schema changes that appear outside the scope implied by the PR title.

Changes:

  • Extend KeycloakClientSpec with Root/Base URL, redirect URIs (login/logout), PKCE method, web origins, and front-channel logout fields.
  • Wire the new spec fields into the Pulumi Keycloak OpenID client provisioning arguments.
  • Regenerate/apply CRD schema changes for KeycloakClient (and also update HelmReleaseV2 CRD schema).

Reviewed changes

Copilot reviewed 4 out of 6 changed files in this pull request and generated 3 comments.

Show a summary per file
File Description
pkg/generated/applyconfiguration/provisioning/v1alpha1/keycloakclientspec.go Adds apply-configuration fields and With* builders for the new KeycloakClientSpec properties.
pkg/apis/provisioning/v1alpha1/zz_generated.deepcopy.go Updates deepcopy logic to properly copy newly added slice fields in KeycloakClientSpec.
pkg/apis/provisioning/v1alpha1/keycloakClientTypes.go Extends the KeycloakClientSpec API type with new Keycloak-related configuration fields.
internal/controllers/provisioning/provisioners/pulumi/keycloak_client.go Passes new Keycloak client settings from the CR spec into Pulumi OpenID client creation.
helm/crds/provisioning.totalsoft.ro_keycloakclients.yaml Exposes the new KeycloakClientSpec fields in the published CRD schema.
helm/crds/provisioning.totalsoft.ro_helmreleasev2s.yaml Updates HelmReleaseV2 CRD schema (appears unrelated to the PR title/scope).
Files not reviewed (1)
  • pkg/apis/provisioning/v1alpha1/zz_generated.deepcopy.go: Generated file

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

Comment on lines +83 to +85
// FrontchannelLogoutUrl The URL Keycloak calls to perform front-channel logout. It is only applicable when FrontchannelLogoutEnabled is true.
// +optional
FrontchannelLogoutUrl string `json:"frontchannelLogoutUrl,omitempty"`
Comment on lines +167 to +170
frontchannelLogoutUrl:
description: FrontchannelLogoutUrl The URL Keycloak calls to perform
front-channel logout. It is only applicable when FrontchannelLogoutEnabled
is true.
Comment on lines +440 to +446
required:
- apiVersion
- current
- kind
fraliv13
fraliv13 previously approved these changes Jul 23, 2026
@lghinet
lghinet merged commit 6b7cf0e into main Jul 23, 2026
1 check passed
@lghinet
lghinet deleted the keycloak branch July 23, 2026 11:57
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.

3 participants