29312 Commits

Author SHA1 Message Date
github-actions[bot]
60dc235ca3 Set version to 26.4.2 26.4.2 2025-10-23 06:29:47 +00:00
Stian Thorgersen
84fd00c9f7
SPIFFE should support OIDC JWK endpoint (#43651) (#43656)
Closes #43650


(cherry picked from commit f6ac64907d300025c70bbb0ab42a6cacb2730e51)

Signed-off-by: stianst <stianst@gmail.com>
2025-10-23 08:08:31 +02:00
Alexander Schwartz
4ad4ce5d58 Adding this as a breaking change plus deprecation
Closes #43022

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-10-21 14:55:31 -03:00
Ronaldo Paulino Jiconda
489d10157a Fix OIDC IDP broker basic auth encoding
Ensures that the client_id and client_secret are URL-encoded before being Base64-encoded for the Basic Auth header, following RFC 6749. This fixes authentication failures when the client_id contains special characters.

Closes #26374
Closes #43022

Signed-off-by: rpjicond <ronaldopaulino32@hotmail.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: rpjicond <ronaldopaulino32@hotmail.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: cgeorgilakis-grnet <cgeorgilakis@admin.grnet.gr>
2025-10-21 14:55:31 -03:00
Martin Kanis
a321c2c91f Make pending email verification attribute removable by admin
Closes #43351

Signed-off-by: Martin Kanis <mkanis@redhat.com>
(cherry picked from commit 986fdd7341a0f42a59f5eec1bd6c3d5a715f2893)
2025-10-21 08:50:07 -03:00
Alexander Schwartz
7c50d94f14
Make intra-document links work in downstream
Closes #43544

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-10-21 08:16:40 -03:00
Martin Kanis
add43bd394
Final review and update for UPDATE_EMAIL documentation
Closes #42991


(cherry picked from commit 3f70da04f6a9511831e1fe2fd2de304e7e411f60)

Signed-off-by: Martin Kanis <mkanis@redhat.com>
2025-10-21 12:45:29 +02:00
Steven Hawkins
c0ba2599b1
fix: noting db support level changes (#43549) (#43608)
closes: #43191


(cherry picked from commit 736d4920d70e54b71f293f3b681fbdf51d3cc373)

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-10-21 11:45:06 +02:00
Steven Hawkins
bcc73bc98b
fix: allow for --optimized to receive signals (#43580) (#43610)
* fix: allowing --optimized to terminate gracefully

closes: #43561



* Update quarkus/dist/src/main/content/bin/kc.sh




---------




(cherry picked from commit 3b7f364b4fa1b3265b89924f666886654cbd933d)

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
2025-10-20 13:47:15 -04:00
Stan Silvert
3419734bf5
Handle options component with no value set. (#43548)
Fixes #43244


(cherry picked from commit afd4d04dcf69c96e92a77a032e2ab8fbcaa705e8)

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
2025-10-20 08:06:49 -04:00
mposolda
c318afb5c5 Possible overflow in brute force computation
closes #30939

Signed-off-by: mposolda <mposolda@gmail.com>
(cherry picked from commit a2cc51aed7692ec09c619f2a6f4ecc7055beb9e1)
2025-10-16 17:11:36 +02:00
Giuseppe Graziano
e5e4e804f3
Update changes.adoc to include changes-26_4_1.adoc
Closes #43328

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
2025-10-16 10:49:46 +02:00
Giuseppe Graziano
a340941007
Invalidate sessions created with remember me when remember me is disabled for realm
Closes #43328


(cherry picked from commit bda0e2a67c8cf41d1b3d9010e6dfcddaf79bf59b)

Signed-off-by: Giuseppe Graziano <g.graziano94@gmail.com>
2025-10-15 19:08:05 +00:00
vramik
89c960cd4e Fix scope interference
Closes #40965

Signed-off-by: vramik <vramik@redhat.com>
2025-10-15 14:32:46 -03:00
Steven Hawkins
f860491397
fix: refining activation condition error handling
closes: #43096


(cherry picked from commit 43ee41e8a82fc7f326cc74df462fe44a5f95de61)

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-10-15 13:31:20 +00:00
Pedro Ruivo
bb91dbf7ee
Client session may be lost during session restart
Fixes #43349

Signed-off-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-10-15 15:20:45 +02:00
Alexander Schwartz
7f17393b52
Use quoted values for boolean and number values in Operator examples
Closes #43459

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-10-14 13:28:28 -04:00
Steven Hawkins
329b22ad35
fix: refining https-protocols documentation (#43420) (#43462)
closes: #43164
(cherry picked from commit 700b86fad85c17d90cc133013e5704e760f30686)

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2025-10-14 17:08:26 +00:00
Stian Thorgersen
464f635dc4
Fix SPIFFE client authentication when iss claim is included
Closes #43394

(cherry picked from commit 5c5905fed3eb3285a8183259035b8c71b26e2135)

Signed-off-by: stianst <stianst@gmail.com>
2025-10-14 15:43:05 +00:00
Alexander Schwartz
4c1a1dee48
JDBC_PING publishes its physical address on startup
Closes #43357

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-10-14 09:59:57 +01:00
mposolda
272d2fc66d Minor UI fixes on 'Keys' tab of SAML client
closes #43304

Signed-off-by: mposolda <mposolda@gmail.com>
(cherry picked from commit a77c4a6ad2ddb820f2ae9fa57c72924973d5bf99)
2025-10-13 17:35:42 +02:00
Alexander Schwartz
fbf98c7834
Rework formatting for release notes
Closes #43320

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-10-10 07:42:36 -03:00
Alexander Schwartz
2d829e3db1
Adding attributes for section links so they work in upstream and downstream
Closes #43286

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-10-10 07:42:20 -03:00
Alexander Schwartz
7ef8f5ec1d
Prevent using JTA transaction when initializing JDBC_PING
Closes #43335

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-10-10 09:42:46 +00:00
Marek Posolda
7f5da7f1c2
openid-connect flow is missing response type on language change
closes #41292


(cherry picked from commit 76d271bf00847370a4ef39b2c46b74212a3ce7bd)

Signed-off-by: mposolda <mposolda@gmail.com>
2025-10-10 10:46:18 +02:00
Ricardo Martin
39bda8a6d0
Use UserSessionUtil.findValidSessionForAccessToken in revocation endpoint
Closes #43218


(cherry picked from commit 4476b444827894e3b6e7737657b14fc8abd6cc7c)

Signed-off-by: rmartinc <rmartinc@redhat.com>
2025-10-09 14:45:25 +02:00
Marek Posolda
7edee8e954
Security Defenses realm settings lost when switching between Headers and Brute Force Detection tabs (#43317)
closes #42676


(cherry picked from commit 0100ac6d6eec6ca4c6b45e11d54d5de9cb0660b6)

Signed-off-by: mposolda <mposolda@gmail.com>
2025-10-09 14:21:37 +02:00
Thomas Darimont
38052e07eb
Ensure conformance for Signed JWT Validation
* Ensure conformance for Signed JWT Validation (#43269)

This re-adds the explicit client assertion parameter validation to produce the correct error responses required by RFC7523.
See: https://www.rfc-editor.org/rfc/rfc7523.html#section-3.2

The refactoring for the support for Federated JWT Client authentication broke the OIDF conformance tests for https://www.rfc-editor.org/rfc/rfc7523.html.

Fixes #43269
Fixes #43270

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
(cherry picked from commit e0ef5ea0c79914b16e6d9f8498da99382432d84a)

* Ensure conformance for Signed JWT Validation + tests (#43269)

Add additional tests for ClientAuthSignedJWTTest.

Fixes #43269

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
(cherry picked from commit 8dd28533583e7c638bd1b9bbb34042b76b9e91e1)

---------

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2025-10-08 10:03:15 +00:00
Pedro Igor
ba1af723c7
Lowercase username and email when fetching values from LDAP object
Closes #43254

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-10-07 23:59:11 +02:00
Martin Kanis
c0150ddbe4 Hide read-only email attribute in update profile context with update … …email enabled (#43024)
* Hide read-only email attribute in update profile context with update email enabled

Closes #42990

Signed-off-by: Martin Kanis <mkanis@redhat.com>

* Simplifying conditions when checking read/write on email attribute and more tests

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>

---------

Signed-off-by: Martin Kanis <mkanis@redhat.com>
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
(cherry picked from commit a493213ad4f9824eca6f204776962b6c6417e6f5)
2025-10-07 09:33:31 -03:00
Pedro Igor
a8e295d326
Filter invalid resources and scopes when processing entries from the cache (#43223)
Closes #42907

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-10-07 13:06:46 +02:00
Thomas Darimont
f4e2db715c Fix NPE in FederatedJWTClientAuthenticator (#43042) (#43043)
Add additional null guard before the check for supported assertation types.

Fixes #43042

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
(cherry picked from commit 8780bc22b47671c9d5a24ea6419ca937bc5f8ff9)
2025-10-07 07:54:12 -03:00
Václav Muzikář
0e23391eb9
Update minikube (#43069) (#43181)
Closes #43075


(cherry picked from commit f7803ae041c28d1ced0063be845516bcf7e142f8)

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2025-10-06 08:46:04 +02:00
Pedro Ruivo
f4af3e2d23
Restarting an user session broken for persistent sessions
Fixes #43161

Signed-off-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Co-authored-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
2025-10-03 19:27:12 +02:00
Alexander Schwartz
c2b4a48ac7
Disable Secure Client-Initiated Renegotiation by default (#43129)
The parameter  -Djdk.tls.rejectClientInitiatedRenegotiation=true disables Secure Client-Initiated Renegotiation in Keycloak to resolve a potential DoS vulnerability. Note this is applicable only to TLS 1.2.

Closes #43020

Signed-off-by: Erasure5959 <154384607+Erasure5959@users.noreply.github.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Erasure5959 <154384607+Erasure5959@users.noreply.github.com>
2025-10-02 18:07:29 +02:00
Pedro Ruivo
da88957df2
Update Grafana dashboard version
Closes #43148

Signed-off-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Co-authored-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
2025-10-02 10:42:02 +02:00
Ricardo Martin
28bef142ca
Do not remove sid claim when the session is transient only for the client
Closes #42565


(cherry picked from commit e256513ceb7d423f0532b9fd9c182171c3e23309)

Signed-off-by: rmartinc <rmartinc@redhat.com>
2025-10-01 22:58:03 +02:00
Alexander Schwartz
771ef3e840
Moving section to the correct place
Closes #43104

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-10-01 13:08:17 +02:00
Martin Kanis
e280d32ad9 Update email page with pending verification email messages prefilled with old email
Closes #43070

Signed-off-by: Martin Kanis <mkanis@redhat.com>
(cherry picked from commit 6e89bd72a92366faba6bf2e446abf06a7500d1c4)
2025-10-01 07:31:41 -03:00
Václav Muzikář
96c44ecf42
Remove a link to Docker web from the docs
Closes #43072

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2025-09-30 11:35:36 +00:00
Alexander Schwartz
3b7536c45c
Make the script work when there are no tags for the release yet (#43059)
Closes #43057

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-09-30 10:12:29 +02:00
github-actions[bot]
1d986f682a Committing **/proto.lock changes
Signed-off-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2025-09-30 07:33:18 +00:00
Stian Thorgersen
9dd6876901
Fix javadocs missing antlr dependency (#43055)
Signed-off-by: stianst <stianst@gmail.com>
2025-09-30 09:29:49 +02:00
Alexander Schwartz
37c808bd11
Reorder the release notes (#43026)
* Reorder the release notes

Closes #42994

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>

* Update docs/documentation/release_notes/topics/26_4_0.adoc

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>

* Update docs/documentation/release_notes/topics/26_4_0.adoc

Co-authored-by: Stian Thorgersen <stian@redhat.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>

* Review

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>

* Review

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>

* Review

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>

* Review

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>

* Review

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>

* Review

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>

---------

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2025-09-30 06:47:55 +00:00
Pedro Igor
a3db07a8f5
Re-adding max age setting to the update email action (#43036)
Closes #43035

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-09-30 05:31:23 +02:00
Stefan Guilhen
7f29c9bb88 Improve workflow logging messages
- every execution gets its own id that can be used to track all activities related to that particular workflow execution

Closes #42952

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2025-09-29 23:10:21 -03:00
Alexander Schwartz
7bcf08fa31
Adding AWS reference to the documentation
Closes #43032

Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
2025-09-29 22:28:53 +02:00
Vít Zikmund
896f147075
docs: Use BASH TCP redirect for HEALTHCHECK (#38131)
* docs: Use BASH TCP redirect for HEALTHCHECK

Add a BASH script to perform an in-container healtcheck.

For the curious, here's how this works:

1. For the code within braces, a TCP connection is made to the keycloak's management port and a successful connection is redirected in the read-write fashion to the descriptor 0 (stdin).
   - When bash fails to connect (TCP RST), it ends up with an error right away.
   - When the connection is hanging (no reply till TCP retry timeout, usually about 1 minute), it just hangs, virtually being a subject to the HEALTHCHECK's timeout (which should be definitely smaller than the usual TCP retry timeout).
2. Then a simple hand-crafted HTTP HEAD request is sent to the socket using printf. This is supposed to always succeed, unless the send buffer of the socket is set ridiculously small on the target OS. In the other case it will just hang again, not being able to push all the bytes through, until that eventually happens or times out.
3. Next, the eventual response is being checked with grep to be the successful one. Only at this time it's return code (and the final) is 0.
   - When no response comes, it's hanging forever and is subject to timeout.
   - When a 503 response comes, grep doesn't match anything and returns 1.

Closes: #38126

Signed-off-by: Vit Zikmund <vit.zikmund@themama.ai>

* expanding bash healthcheck for scenarios that enable http health checks

Signed-off-by: Steve Hawkins <shawkins@redhat.com>

* Update docs/guides/observability/health.adoc

Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>

* Update docs/guides/observability/health.adoc

Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>

* Update docs/guides/observability/health.adoc

Signed-off-by: Steven Hawkins <shawkins@redhat.com>

---------

Signed-off-by: Vit Zikmund <vit.zikmund@themama.ai>
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Signed-off-by: Steven Hawkins <shawkins@redhat.com>
Co-authored-by: Steve Hawkins <shawkins@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2025-09-29 18:04:02 +02:00
Pedro Igor
d6da849206 Introducing a EMAL_PENDING user attribute to set the email pending verification
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2025-09-29 12:41:41 -03:00
Martin Kanis
88eea73cdc Introduce pending email verification message for UPDATE_EMAIL
Closes #42770

Signed-off-by: Martin Kanis <mkanis@redhat.com>
2025-09-29 12:41:41 -03:00