26844 Commits

Author SHA1 Message Date
Sebastian Rose
015f06b5b8
Adjust documentation according to new home in keycloak/docs/documentation
- refer mvnw instead of mvn
- contributing.adoc reflects GitHub-Issues and new git-structure

Closes #35373

Signed-off-by: Sebastian Rose <sebastian.rose@gmail.com>
2024-11-28 14:28:11 +01:00
Anton Siuvaev
19f22b5283
Fix incorrect placeholders in message files
* Fix incorrect placeholders in message files

Only fixed those placeholders, that were not the same as in
`messages_en.properties` file. Did not replace differentiating numeric placeholders with single/double
curly braces (i.e. `{1}` instead of `{{1}}` in `en` file)

Closes #35340

Signed-off-by: Anton Siuvaev <anton@siuvaev.ru>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Anton Siuvaev <anton.siuvaev@xgroup.cy>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-28 13:25:41 +00:00
Miguel C
195ace8cb8 Use regular CREATE TABLE instead of CREATE TEMPORARY
Some hosted/managed environments like google CloudSQL, might not support this type of statement (i.e. when using replication and GTID)

Since we are dropping the table anyway it seems a regular CREATE statement should work fine here.

Signed-off-by: mike-pt <mike-pt@users.noreply.github.com>
2024-11-28 10:17:04 -03:00
Martin Bartoš
594218382d
OTEL: Instrument parts of Keycloak with OTEL spans
Closes #32114

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-28 12:08:50 +00:00
dependabot[bot]
e8c993ce55
Bump vitest from 2.1.5 to 2.1.6 (#35379)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 2.1.5 to 2.1.6.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v2.1.6/packages/vitest)

---
updated-dependencies:
- dependency-name: vitest
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-28 11:55:19 +00:00
dependabot[bot]
1077dcd7ca
Bump @vitejs/plugin-react-swc from 3.7.1 to 3.7.2 (#35378)
Bumps [@vitejs/plugin-react-swc](https://github.com/vitejs/vite-plugin-react-swc) from 3.7.1 to 3.7.2.
- [Release notes](https://github.com/vitejs/vite-plugin-react-swc/releases)
- [Changelog](https://github.com/vitejs/vite-plugin-react-swc/blob/main/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite-plugin-react-swc/compare/v3.7.1...v3.7.2)

---
updated-dependencies:
- dependency-name: "@vitejs/plugin-react-swc"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-28 11:54:34 +00:00
Pedro Ruivo
9bd0cdc00f Flaky test: AuthenticationSessionTest
Enable transactions to handle conflicts.

Unrelated changes:
* Disable IP multicast (not available in MacOS by default)
* Bind JGroups to 127.0.0.1
* Remove FD_SOCK2 (single JVM tests do not require failure detection)

Closes #35087
Closes #35015

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-11-28 12:39:06 +01:00
Jon Koops
687223f3b1 Improve session polling to prevent accidental redirects
Closes #33071

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-11-28 12:21:27 +01:00
dependabot[bot]
7e19ae47a4
Bump @types/node from 22.9.4 to 22.10.0 (#35381)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.9.4 to 22.10.0.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-28 11:39:46 +01:00
dependabot[bot]
458624e13d
Bump prettier from 3.3.3 to 3.4.1 (#35382)
Bumps [prettier](https://github.com/prettier/prettier) from 3.3.3 to 3.4.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/3.3.3...3.4.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-28 11:39:22 +01:00
dependabot[bot]
55e6b93e5e
Bump react-i18next from 15.1.1 to 15.1.2 (#35383)
Bumps [react-i18next](https://github.com/i18next/react-i18next) from 15.1.1 to 15.1.2.
- [Changelog](https://github.com/i18next/react-i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/react-i18next/compare/v15.1.1...v15.1.2)

---
updated-dependencies:
- dependency-name: react-i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-28 11:39:01 +01:00
Martin Bartoš
959ce9c483 Provide Tracing SPI
Closes #34711

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
Co-authored-by: Alexander Schwartz <alexander.schwartz@gmx.net>
2024-11-28 10:45:31 +01:00
Stian Thorgersen
c0209ccd03
Migrate EmailEventListenerTest (#35202)
* Move EmailEventListenerTest

Part of #34494

Signed-off-by: stianst <stianst@gmail.com>

* Update EmailEventListenerTest for migration

Part of #34494

Signed-off-by: stianst <stianst@gmail.com>

---------

Signed-off-by: stianst <stianst@gmail.com>
2024-11-28 10:19:45 +01:00
Pedro Ruivo
a65fd34bbf Make PermissionTicket events marshallable
Fixes #35328

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-11-28 10:14:54 +01:00
Agnieszka Gancarczyk
fda6dde44f
Revert top level await config (#35345)
Signed-off-by: Agnieszka Gancarczyk <agagancarczyk@gmail.com>
2024-11-27 18:37:00 +01:00
Pedro Igor
45f9bcd673 Resolve scopes from bearer tokens when processing requests to the Account API
Closes #35357

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-11-27 14:17:53 -03:00
rmartinc
8a4651c664 Do not count current sessions in UserSessionLimitsAuthenticator
Closes #35276

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-11-27 17:24:13 +01:00
Stian Thorgersen
c429c9aa55
Updated tested MySQL version to 8.4 (#35336)
Closes #35335

Signed-off-by: stianst <stianst@gmail.com>
2024-11-27 10:06:21 +01:00
dependabot[bot]
b20cfbbfa5
Bump lightningcss from 1.28.1 to 1.28.2 (#35304)
Bumps [lightningcss](https://github.com/parcel-bundler/lightningcss) from 1.28.1 to 1.28.2.
- [Release notes](https://github.com/parcel-bundler/lightningcss/releases)
- [Commits](https://github.com/parcel-bundler/lightningcss/commits/v1.28.2)

---
updated-dependencies:
- dependency-name: lightningcss
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 11:22:54 +00:00
dependabot[bot]
58f960b5fa
Bump typescript-eslint from 8.15.0 to 8.16.0 (#35303)
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.15.0 to 8.16.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/typescript-eslint/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v8.16.0/packages/typescript-eslint)

---
updated-dependencies:
- dependency-name: typescript-eslint
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 11:41:43 +01:00
dependabot[bot]
97b8707d5d
Bump @types/node from 22.9.3 to 22.9.4 (#35305)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.9.3 to 22.9.4.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 11:40:56 +01:00
dependabot[bot]
47139fca59
Bump i18next from 24.0.0 to 24.0.2 (#35306)
Bumps [i18next](https://github.com/i18next/i18next) from 24.0.0 to 24.0.2.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v24.0.0...v24.0.2)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-26 11:40:29 +01:00
Miquel Simon
5e6faae517
Migrate ClientDescriptionConverterTest to the new framework (#35309)
* Migrate ClientDescriptionConverterTest to the new framework

Part of #34494

Signed-off-by: Miquel Simon <msimonma@redhat.com>

* Migrate ClientDescriptionConverterTest to the new framework

Part of #34494

Signed-off-by: Miquel Simon <msimonma@redhat.com>

---------

Signed-off-by: Miquel Simon <msimonma@redhat.com>
2024-11-26 11:37:32 +01:00
Miquel Simon
8e56e640e5
Migrate AdminConsoleLandingPageTest to the new framework (#35260)
* Migrate AdminConsoleLandingPageTest to the new framework

Part of #34494

Signed-off-by: Miquel Simon <msimonma@redhat.com>

* Migrate AdminConsoleLandingPageTest to the new framework

Part of #34494

Signed-off-by: Miquel Simon <msimonma@redhat.com>

---------

Signed-off-by: Miquel Simon <msimonma@redhat.com>
2024-11-26 11:26:11 +01:00
Lukas Hanusovsky
0e7d9e8108
[Test framework MVP] RealmLocalizationResourceTest - refactor to use RealmConfig and realm.cleanup() in methods only (#35187)
Signed-off-by: Lukas Hanusovsky <lhanusov@redhat.com>
Signed-off-by: Lukas Hanusovsky <61745358+lhanusov@users.noreply.github.com>
2024-11-26 11:25:22 +01:00
Erik Jan de Wit
6bf7dadb05
use master realm to fetch realm names list (#35128)
* use master realm to fetch realm names list

fixes: #34356
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

* use display name when we can

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-11-25 13:41:12 -05:00
Pedro Ruivo
e143b022e5 Flaky test: AuthenticationSessionTest
Workaround for flaky test AuthenticationSessionTest#testConcurrentAuthenticationSessionsRemoval

Closes #35015

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-11-25 13:49:08 +01:00
Alexander Schwartz
12436fd922 Fix unordered list in caching guide
Closes #35006

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-25 13:47:42 +01:00
Takashi Norimatsu
99067d3161 Authorization Code Binding to a DPoP Key and DPoP with Pushed Authorization Requests
closes #34990

Signed-off-by: Takashi Norimatsu <takashi.norimatsu.ws@hitachi.com>
2024-11-25 13:08:45 +01:00
Thomas Darimont
f61937f3d9
Prefer usage of StandardCharsets.UTF_8 over "UTF-8" charset reference
Fixes #35080

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-11-25 10:45:37 +00:00
dependabot[bot]
7cab4f30fd
Bump rollup from 4.27.3 to 4.27.4 (#35268)
Bumps [rollup](https://github.com/rollup/rollup) from 4.27.3 to 4.27.4.
- [Release notes](https://github.com/rollup/rollup/releases)
- [Changelog](https://github.com/rollup/rollup/blob/master/CHANGELOG.md)
- [Commits](https://github.com/rollup/rollup/compare/v4.27.3...v4.27.4)

---
updated-dependencies:
- dependency-name: rollup
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 10:34:34 +00:00
dependabot[bot]
1955ce8d22
Bump i18next from 23.16.8 to 24.0.0 (#35267)
Bumps [i18next](https://github.com/i18next/i18next) from 23.16.8 to 24.0.0.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v23.16.8...v24.0.0)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 11:16:51 +01:00
dependabot[bot]
0284a29077
Bump @types/node from 22.9.1 to 22.9.3 (#35269)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.9.1 to 22.9.3.
- [Release notes](https://github.com/DefinitelyTyped/DefinitelyTyped/releases)
- [Commits](https://github.com/DefinitelyTyped/DefinitelyTyped/commits/HEAD/types/node)

---
updated-dependencies:
- dependency-name: "@types/node"
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 11:15:54 +01:00
dependabot[bot]
969b1e0290
Bump @noble/hashes from 1.5.0 to 1.6.1 (#35270)
Bumps [@noble/hashes](https://github.com/paulmillr/noble-hashes) from 1.5.0 to 1.6.1.
- [Release notes](https://github.com/paulmillr/noble-hashes/releases)
- [Commits](https://github.com/paulmillr/noble-hashes/compare/1.5.0...1.6.1)

---
updated-dependencies:
- dependency-name: "@noble/hashes"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-25 11:13:49 +01:00
Martin Kanis
20770d8aaa Fix upgrading guide about deprecation of getAll() methods in the organization APIs
Closes #34975

Signed-off-by: Martin Kanis <mkanis@redhat.com>
2024-11-25 10:10:02 +01:00
rmartinc
b0b247f1f1 Passivate imported keys if the associate certificate is expired
Closes #34973

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-11-25 09:40:59 +01:00
Steven Hawkins
948760ae45
fix: switching quarkus dist tests to use integration test setup (#35249)
closes: #35193

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-11-25 09:10:57 +01:00
Cornelius Roemer
491d4af79b Add reason for issue requirement to CONTRIBUTING.md
Closes #35252

Signed-off-by: Cornelius Roemer <cornelius.roemer@gmail.com>
2024-11-25 08:36:45 +01:00
Cornelius Roemer
29abfd3e89 Fix typos in *.md and *.adoc files using codespell interactive mode
Closes #35256

This PR fixes a bunch of typos in docs files.

I ran codespell on `*.adoc` and `*.md` files in the repo in interactive mode
carefully checking each identified typo and proposed fix for false positives.

The most widely read file with typos identified is likely the changelog/migration guide.

Signed-off-by: Cornelius Roemer <cornelius.roemer@gmail.com>
2024-11-25 08:21:26 +01:00
Cornelius Roemer
6bfc54a63d
Use all 1s for ordered list in CONTRIBUTING.md for cleaner blame/diff (#35255)
Closes #35254

Previously the 5 was repeated twice (presumably to keep diff small)
but that is super confusing. Better to use 1s for everything.

Signed-off-by: Cornelius Roemer <cornelius.roemer@gmail.com>
2024-11-25 08:20:11 +01:00
Steven Hawkins
0eb0281bf2
fix: returning addresses instead of hosts on the ClientConnection (#35247)
also consolidates checks of whether a host or address is local

closes: #35216
closes: #34671

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-11-22 20:57:20 +01:00
Steven Hawkins
198214310e
fix: ensures that properties are runtime properties are filtered (#35246)
closes: #CVE-2024-10451

Signed-off-by: Steve Hawkins <shawkins@redhat.com>
2024-11-22 20:53:47 +01:00
mposolda
1653e4b507 Requested grant_types inconsistent with created grant_types for OpenID Connect Dynamic Client Registration
closes #32801

Signed-off-by: mposolda <mposolda@gmail.com>
2024-11-22 17:55:34 +01:00
Michal Hajas
112138e7df Add Service level indicators guide
Closes #35238

Signed-off-by: Michal Hajas <mhajas@redhat.com>
2024-11-22 17:42:23 +01:00
Michal Hajas
cb914b2a3d Fix observability links
Closes #35240
Signed-off-by: Michal Hajas <mhajas@redhat.com>
2024-11-22 17:41:35 +01:00
dependabot[bot]
db8cdc1dec
Bump i18next from 23.16.6 to 23.16.8 (#35166)
Bumps [i18next](https://github.com/i18next/i18next) from 23.16.6 to 23.16.8.
- [Release notes](https://github.com/i18next/i18next/releases)
- [Changelog](https://github.com/i18next/i18next/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next/compare/v23.16.6...v23.16.8)

---
updated-dependencies:
- dependency-name: i18next
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2024-11-22 13:25:56 +01:00
Pedro Igor
5d6b9c1460 Resolve scopes from authenticated client sessions when selecting attributes
Closes #35192

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-11-22 12:32:24 +01:00
Cornelius Roemer
e11db03d76
fix(doc): v24 changelog grammar typo "longer" -> "no longer" ()
Closes #35163

The missing "no" makes this really confusing to read

Signed-off-by: Cornelius Roemer <cornelius.roemer@gmail.com>
2024-11-22 11:56:48 +01:00
Cornelius Roemer
610c08a0f3
Fix typo www.recatcha.net -> www.recaptcha.net in docs (#35210)
closes #35210 

Signed-off-by: Cornelius Roemer <cornelius.roemer@gmail.com>
2024-11-22 10:39:52 +01:00
Martin Bartoš
8851134724
Improve test method signature and gather more info about assertions (#35157)
Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2024-11-22 10:35:41 +01:00