Fix Windows wrapper startup when the script or Maven path contains spaces or apostrophes.
Closes#47499
Signed-off-by: azc9673 <azc9673@nyu.edu>
Signed-off-by: azc9673 <azc9673@nyu.edu>
Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
* Validate .conf extension for --config-file option
The --config-file option and KC_CONFIG_FILE environment variable
silently ignored configuration files that did not use the .conf
extension. This happened because the underlying SmallRye config
source loader filters by file extension, returning an empty list
for non-.conf files without any indication to the user.
Added explicit validation in both the CLI option setter and the
config source file resolution to reject files that do not end
with .conf, giving the user a clear error message instead of
silently ignoring their configuration.
Closes#46978
Signed-off-by: Tanner Smith <griffonbyte@proton.me>
* fix: validate config file extension before checking existence
Move the .conf extension check before the file existence check in
setConfigFile(). When a file with a wrong extension does not exist
relative to the working directory, the existence check would fire
first, masking the more specific extension validation error.
Closeskeycloak/keycloak#47696
Signed-off-by: Tanner Smith <griffonbyte@proton.me>
---------
Signed-off-by: Tanner Smith <griffonbyte@proton.me>
* Require clientId in the payload
Closes#47524
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
* Require 'protocol' field to be specified
Closes#47579
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
* Client API v2 CLI Client: Jakarta validation errors are not handled
Closes#47574
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
* Use getRequest() for POST in test
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
---------
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
* resolve org from scope instead of client session note (#42836)
Signed-off-by: Chris Leigh <3805338+Tungsten78@users.noreply.github.com>
* Keep track of current organization when refreshing tokens
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
* Handling select organization when querying userinfo and introspection endpoints
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
* More tests
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
* Test to check prevent single to all
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
* Error when changing scopes to ANY
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
---------
Signed-off-by: Chris Leigh <3805338+Tungsten78@users.noreply.github.com>
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Closes#46883
Signed-off-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Co-authored-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
* Updated translation for Turkish
Language: tr
Updated translation for Turkish
Language: tr
Updated translation for Turkish
Language: tr
Co-authored-by: Arif EROL <arif.erol16@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: spctr <spctr@users.noreply.github.com>
Signed-off-by: Arif EROL <arif.erol16@gmail.com>
Signed-off-by: Hosted Weblate <hosted@weblate.org>
Signed-off-by: spctr <spctr@users.noreply.github.com>
* Translated using Weblate (German)
Currently translated at 100.0% (1 of 1 strings)
Translated using Weblate (German)
Currently translated at 100.0% (1 of 1 strings)
Added translation using Weblate (German)
Translated using Weblate (German)
Currently translated at 100.0% (1 of 1 strings)
Added translation using Weblate (German)
Translated using Weblate (German)
Currently translated at 100.0% (1 of 1 strings)
Added translation using Weblate (German)
Translated using Weblate (German)
Currently translated at 100.0% (1 of 1 strings)
Updated translation for German
Language: de
Updated translation for German
Language: de
Added translation using Weblate (German)
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Robin <39960884+robson90@users.noreply.github.com>
Signed-off-by: Hosted Weblate <hosted@weblate.org>
Signed-off-by: Robin <39960884+robson90@users.noreply.github.com>
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-e-mail-theme/de/
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-login-theme/de/
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-v2-login-theme/de/
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-welcome-theme/de/
Translation: Keycloak/Keycloak E-mail theme
Translation: Keycloak/Keycloak Login theme
Translation: Keycloak/Keycloak Welcome theme
Translation: Keycloak/Keycloak v2 Login theme
* Updated translation for Czech
Language: cs
Updated translation for Czech
Language: cs
Updated translation for Czech
Language: cs
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Peter Schiffer <peter@pschiffer.eu>
Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Signed-off-by: Hosted Weblate <hosted@weblate.org>
Signed-off-by: Peter Schiffer <peter@pschiffer.eu>
* Translated using Weblate (Indonesian)
Currently translated at 100.0% (1 of 1 strings)
Added translation using Weblate (Indonesian)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (1 of 1 strings)
Added translation using Weblate (Indonesian)
Updated translation for Indonesian
Language: id
Translated using Weblate (Indonesian)
Currently translated at 100.0% (1 of 1 strings)
Translated using Weblate (Indonesian)
Currently translated at 100.0% (1 of 1 strings)
Updated translation for Indonesian
Language: id
Added translation using Weblate (Indonesian)
Added translation using Weblate (Indonesian)
Co-authored-by: Andika Triwidada <andika@gmail.com>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Signed-off-by: Andika Triwidada <andika@gmail.com>
Signed-off-by: Hosted Weblate <hosted@weblate.org>
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-e-mail-theme/id/
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-login-theme/id/
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-v2-login-theme/id/
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-welcome-theme/id/
Translation: Keycloak/Keycloak E-mail theme
Translation: Keycloak/Keycloak Login theme
Translation: Keycloak/Keycloak Welcome theme
Translation: Keycloak/Keycloak v2 Login theme
* Updated translation for Dutch
Language: nl
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Signed-off-by: Hosted Weblate <hosted@weblate.org>
* Updated translation for French
Language: fr
Updated translation for French
Language: fr
Updated translation for French
Language: fr
Updated translation for French
Language: fr
Updated translation for French
Language: fr
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: Sylvain Pichon <service@spichon.fr>
Signed-off-by: Hosted Weblate <hosted@weblate.org>
Signed-off-by: Sylvain Pichon <service@spichon.fr>
* Updated translation for Swedish
Language: sv
Translated using Weblate (Swedish)
Currently translated at 100.0% (1 of 1 strings)
Updated translation for Swedish
Language: sv
Translated using Weblate (Swedish)
Currently translated at 100.0% (1 of 1 strings)
Added translation using Weblate (Swedish)
Translated using Weblate (Swedish)
Currently translated at 100.0% (1 of 1 strings)
Added translation using Weblate (Swedish)
Translated using Weblate (Swedish)
Currently translated at 100.0% (1 of 1 strings)
Added translation using Weblate (Swedish)
Translated using Weblate (Swedish)
Currently translated at 100.0% (1 of 1 strings)
Added translation using Weblate (Swedish)
Updated translation for Swedish
Language: sv
Updated translation for Swedish
Language: sv
Updated translation for Swedish
Language: sv
Updated translation for Swedish
Language: sv
Co-authored-by: Daniel Nylander <daniel@danielnylander.se>
Co-authored-by: Hosted Weblate <hosted@weblate.org>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Signed-off-by: Daniel Nylander <daniel@danielnylander.se>
Signed-off-by: Hosted Weblate <hosted@weblate.org>
Signed-off-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-e-mail-theme/sv/
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-login-theme/sv/
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-v2-login-theme/sv/
Translate-URL: https://hosted.weblate.org/projects/keycloak/keycloak-welcome-theme/sv/
Translation: Keycloak/Keycloak E-mail theme
Translation: Keycloak/Keycloak Login theme
Translation: Keycloak/Keycloak Welcome theme
Translation: Keycloak/Keycloak v2 Login theme
---------
Signed-off-by: Arif EROL <arif.erol16@gmail.com>
Signed-off-by: Hosted Weblate <hosted@weblate.org>
Signed-off-by: spctr <spctr@users.noreply.github.com>
Signed-off-by: Robin <39960884+robson90@users.noreply.github.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Signed-off-by: Peter Schiffer <peter@pschiffer.eu>
Signed-off-by: Andika Triwidada <andika@gmail.com>
Signed-off-by: Sylvain Pichon <service@spichon.fr>
Signed-off-by: Daniel Nylander <daniel@danielnylander.se>
Signed-off-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Co-authored-by: Arif EROL <arif.erol16@gmail.com>
Co-authored-by: spctr <spctr@users.noreply.github.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Robin <39960884+robson90@users.noreply.github.com>
Co-authored-by: Peter Schiffer <peter@pschiffer.eu>
Co-authored-by: Andika Triwidada <andika@gmail.com>
Co-authored-by: Sylvain Pichon <service@spichon.fr>
Co-authored-by: Daniel Nylander <daniel@danielnylander.se>
Co-authored-by: bittin1ddc447d824349b2 <bittin@reimu.nl>
Add server-side filtering of users by creation timestamp on the admin
REST API. This avoids the need to retrieve all users and filter
client-side, which is inefficient for large realms.
Two optional query parameters are added to both the user list and count
endpoints. They accept either ISO-8601 date strings (yyyy-MM-dd) or
epoch milliseconds, consistent with the existing events API date
filtering via DateUtil.
Closes#43829
Signed-off-by: RafaelWO <weingartner.rafael@hotmail.com>
The pnpm-lock.yaml file contained duplicate entries for
serialize-javascript@7.0.5
at lines 4213 and 4217, which was causing CI failures. This occurred
because the
lockfile wasn't properly regenerated after the override was added to
package.json.
Regenerated the lockfile by removing it and running pnpm install to
ensure proper
synchronization with the overrides defined in package.json.
Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
Apply pnpm.overrides in js/package.json to force patched versions of
vulnerable transitive dependencies:
- picomatch ^2.3.1 → ^2.3.2 (ReDoS via extglob quantifiers)
- flatted ^3.2.9 → ^3.4.2 (Prototype Pollution and unbounded recursion DoS)
- minimatch ~3 → ^3.1.4 (multiple ReDoS vectors)
- minimatch ~9 → ^9.0.7 (ReDoS via repeated wildcards)
- @isaacs/brace-expansion ^5 → ^5.0.1 (uncontrolled resource consumption)
- serialize-javascript ^6 → ^7.0.3 (RCE via RegExp.flags)
pnpm.overrides is used here because none of the direct dependencies that
pull in these transitive packages have released fixes upstream yet:
- wireit 0.14.12 (latest stable) → picomatch 2.3.1 via chokidar/micromatch
- eslint 9.x → flatted 3.3.3 via flat-cache, minimatch 3.1.2
- mocha 11.x → serialize-javascript 6.0.2
- vite-plugin-dts 4.x → minimatch 9.0.5, @isaacs/brace-expansion 5.0.0
Since the vulnerable ranges (e.g. ^2.3.1, ^3.2.9) already permit the
patched versions, overrides simply force pnpm to resolve to the fixed
minor/patch release rather than the previously locked version.
Signed-off-by: Bruno Oliveira da Silva <bruno@abstractj.com>
Closes#47678
Signed-off-by: Tomas Kyjovsky <tkyjovsk@ibm.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Closes#47038
Signed-off-by: Benjamin DeWeese <bdeweesevans@gmail.com>
Signed-off-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@ibm.com>
Closes#47531
Signed-off-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Signed-off-by: Ryan Emerson <remerson@ibm.com>
Co-authored-by: Pedro Ruivo <1492066+pruivo@users.noreply.github.com>
Co-authored-by: Ryan Emerson <remerson@ibm.com>