Skip to content

fix: re-add keycloak client registration authpol#2614

Merged
mjnagel merged 2 commits intomainfrom
mjnagel-patch-2
Apr 27, 2026
Merged

fix: re-add keycloak client registration authpol#2614
mjnagel merged 2 commits intomainfrom
mjnagel-patch-2

Conversation

@mjnagel
Copy link
Copy Markdown
Contributor

@mjnagel mjnagel commented Apr 27, 2026

Description

As a defense in depth measure this re-adds protections to prevent client registrations via the "public" (tenant) client registration endpoint for the uds realm.

@mjnagel mjnagel self-assigned this Apr 27, 2026
@mjnagel mjnagel marked this pull request as ready for review April 27, 2026 15:41
@mjnagel mjnagel requested a review from a team as a code owner April 27, 2026 15:41
@joelmccoy joelmccoy requested a review from Copilot April 27, 2026 15:42
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Re-introduces an Istio AuthorizationPolicy deny rule to prevent Keycloak dynamic client registration calls against the configured realm as a defense-in-depth measure.

Changes:

  • Add a DENY rule for "/realms/{{ .Values.realm }}/clients-registrations/*" on port 8080 in the Keycloak gateway AuthorizationPolicy.

Comment thread src/keycloak/chart/templates/istio-authpol-admin.yaml
Comment thread src/keycloak/chart/templates/istio-authpol-admin.yaml Outdated
Co-authored-by: Blake Burkhart <blake@defenseunicorns.com>
Copy link
Copy Markdown
Contributor

@joelmccoy joelmccoy left a comment

Choose a reason for hiding this comment

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

LGTM. tested locally to ensure this is blocked on tenant gateway path

@mjnagel mjnagel enabled auto-merge (squash) April 27, 2026 16:05
@mjnagel mjnagel merged commit ebed871 into main Apr 27, 2026
28 checks passed
@mjnagel mjnagel deleted the mjnagel-patch-2 branch April 27, 2026 16:19
mjnagel added a commit that referenced this pull request Apr 27, 2026
…0) (#2620)

Backport of commit: ebed871

Co-authored-by: Blake Burkhart <blake@defenseunicorns.com>
mjnagel added a commit that referenced this pull request Apr 27, 2026
…1) (#2621)

Backport of commit: ebed871

Co-authored-by: Blake Burkhart <blake@defenseunicorns.com>
mjnagel added a commit that referenced this pull request Apr 27, 2026
…2) (#2622)

Backport of commit: ebed871

Co-authored-by: Blake Burkhart <blake@defenseunicorns.com>
mjnagel pushed a commit that referenced this pull request Apr 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.0.1](v1.0.0...v1.0.1)
(2026-04-27)


### Bug Fixes

* re-add keycloak client registration authpol
([#2614](#2614))
(backport-1.0)
([#2620](#2620))
([357445b](357445b))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
mjnagel pushed a commit that referenced this pull request Apr 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.1.1](v1.1.0...v1.1.1)
(2026-04-27)


### Bug Fixes

* re-add keycloak client registration authpol
([#2614](#2614))
(backport-1.1)
([#2621](#2621))
([3df64b8](3df64b8))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
mjnagel pushed a commit that referenced this pull request Apr 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.2.2](v1.2.1...v1.2.2)
(2026-04-27)


### Bug Fixes

* re-add keycloak client registration authpol
([#2614](#2614))
(backport-1.2)
([#2622](#2622))
([c1a01d4](c1a01d4))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
jasonwashburn pushed a commit that referenced this pull request Apr 28, 2026
🤖 I have created a release *beep* *boop*
---


##
[1.3.0](v1.2.0...v1.3.0)
(2026-04-28)


### Features

* **CORE-27:** allow opt-in public clients
([#2598](#2598))
([9af5ca7](9af5ca7))
* cycle gateways when istio gatewayTopology proxyProtocol changes
([#2595](#2595))
([5eceba7](5eceba7))


### Bug Fixes

* **ci:** run istio gen-crds in autogenerated-check
([#2605](#2605))
([40a1a97](40a1a97))
* handle apply properly for keycloak client secret
([#2627](#2627))
([c227289](c227289))
* re-add keycloak client registration authpol
([#2614](#2614))
([ebed871](ebed871))
* restore original loki write service account name
([#2599](#2599))
([a5386e2](a5386e2))
* updating prometheus to use endpointslice
([#2594](#2594))
([ba319c8](ba319c8))


### Miscellaneous

* add retry to multi-arch manifest check
([#2602](#2602))
([4e8ba23](4e8ba23))
* **deps-dev:** bump postcss from 8.5.8 to 8.5.12 in /scripts/renovate
([#2615](#2615))
([0922090](0922090))
* **deps:** update identity-config to 0.26.1
([#2616](#2616))
([fd105a2](fd105a2))
* **deps:** update istio to v1.29.2
([#2587](#2587))
([caddf35](caddf35))
* **deps:** update pepr to v1.1.6
([#2607](#2607))
([d9f2ae9](d9f2ae9))
* **deps:** update pepr to v1.1.7
([#2611](#2611))
([fd43cc3](fd43cc3))
* **deps:** update prometheus-stack
([#2546](#2546))
([6812697](6812697))
* **deps:** update velero chart to v12.0.1
([#2613](#2613))
([1048ae9](1048ae9))
* swap bundles google idp saml signing cert
([#2609](#2609))
([57795b9](57795b9))
* update istio CRDs to use v1 API
([#2606](#2606))
([079c361](079c361))


### Documentation

* add 1.3.0 release notes
([#2633](#2633))
([00468ab](00468ab))
* add keycloak admin handling doc
([#2597](#2597))
([328d19c](328d19c))
* add troubleshooting for too many open files
([#2612](#2612))
([0b64a05](0b64a05))
* update release notes for 1.2.1
([#2603](#2603))
([bfa8124](bfa8124))
* update release notes to include newest patches
([#2629](#2629))
([d59ca81](d59ca81))

---
This PR was generated with [Release
Please](https://github.com/googleapis/release-please). See
[documentation](https://github.com/googleapis/release-please#release-please).

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
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.

4 participants