Commit graph

25904 commits

Author SHA1 Message Date
Peter Zaoral
6ab3b98743
Temporary admin account notice logged to org.keycloak.events (#32307)
* removed the temporary admin accounts logging from JBossLoggingEventListenerProvider

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
2024-08-21 13:31:57 +00:00
yelhouti
e8840df0e0
Fix: admin GUI not working with 1000s of realms
Search by RealmName is done before loading all realms when filtering

Closes #31956

Signed-off-by: Youssef El Houti <youssef.elhouti@gmail.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-08-21 14:58:36 +02:00
Erik Jan de Wit
e2d7a94459 Hynek's notes
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-21 08:50:01 -04:00
Erik Jan de Wit
35ce3c0a1f Make login v2 the default reverting test code
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-21 08:50:01 -04:00
Erik Jan de Wit
957f97d9cc
moved datatable to ui-shared so it can be used in account (#32122)
* moved datatable to ui-shared so it can be used in account

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

* merged changes

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-21 13:07:38 +02:00
Pedro Igor
c1f6d5ca64 Support for selecting an organization when requesting the organization scope
Closes #31438

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-08-21 13:04:58 +02:00
Stefan Guilhen
585d179fe0 Ensure identity providers returned to the org IDP selection are IDPs not associated with any orgs.
Closes #32238

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2024-08-21 07:49:01 -03:00
Erik Jan de Wit
be766c751a
added populateHierarchy to types (#32201)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-21 11:56:09 +02:00
Erik Jan de Wit
1df779e710
added * when field is required (#32225)
related issue: #26963

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-21 10:38:59 +02:00
Erik Jan de Wit
c58128fcf7
use stringify for client scope mappers (#32224)
fixes: #26794

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-21 10:38:32 +02:00
Erik Jan de Wit
b287ab7f6d
added isDisabled to menu toggle (#32202)
fixes: #32156

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-21 10:38:09 +02:00
Erik Jan de Wit
b13a816504
re-introduce realm name style (#32275)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-21 09:45:53 +02:00
Peter Zaoral
1b5fe5437a
Warnings for temporary admin user and service account (#31387)
* UI banner, labels and log messages are shown when temporary admin account is used
* added UI tests that check the elements' presence

Signed-off-by: Peter Zaoral <pzaoral@redhat.com>
Co-authored-by: Václav Muzikář <vaclav@muzikari.cz>
2024-08-21 09:30:24 +02:00
Pedro Ruivo
4675a4eda9 Deprecate UserSessionCrossDCManager
Fixes #31878

Signed-off-by: Pedro Ruivo <pruivo@redhat.com>
2024-08-21 08:52:39 +02:00
dependabot[bot]
33776ad8ed Bump i18next from 23.13.0 to 23.14.0
Bumps [i18next](https://github.com/i18next/i18next) from 23.13.0 to 23.14.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.13.0...v23.14.0)

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

Signed-off-by: dependabot[bot] <support@github.com>
2024-08-20 15:23:34 -04:00
Pedro Igor
4d621e5dfd Fixing compilation errors due to usages of javax.ws.rs imports
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-08-20 11:11:14 -03:00
Erik Jan de Wit
7567506550 fixed message when sending an invite
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-20 11:11:14 -03:00
Pedro Igor
d8bb5087ed Adding sendInvite message
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-08-20 11:11:14 -03:00
Pedro Igor
d0335d23fe Do not query organizations when selecting a user if organization is disabled
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-08-20 11:11:14 -03:00
Pedro Igor
e3c0b918bd Returning a full representation when querying organizations
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-08-20 11:11:14 -03:00
Erik Jan de Wit
2b0392a3e8 added invite user dialog
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-20 11:11:14 -03:00
Erik Jan de Wit
e6dd8ac1c0 added join org modal
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-20 11:11:14 -03:00
Erik Jan de Wit
a3ffbb439d initial version organization table for users
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-20 11:11:14 -03:00
Pedro Igor
4376a3c757 Add an endpoint to the organizations endpoint to return the organizations for a given user
Closes #32158

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-08-20 11:11:14 -03:00
Agnieszka Gancarczyk
b2999ada2d
fix for default roles (#32243)
Signed-off-by: Agnieszka Gancarczyk <agagancarczyk@gmail.com>
2024-08-20 12:28:01 +01:00
Václav Muzikář
aee9390812
Resolve disabled options even at fast startup (#32245)
Closes #30380

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2024-08-20 12:15:32 +02:00
Stan Silvert
85a0fa389c
Let create/edit client role w/ fine-grained auth. (#32249)
Fixes #31537

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
2024-08-20 11:28:08 +02:00
Pedro Igor
eeae50fb43 Make sure federationLink always map to the storage provider associated with federated users
Closes #31670

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-08-20 11:27:22 +02:00
dependabot[bot]
f9d3895550
Bump @types/node from 22.3.0 to 22.4.1 (#32252)
Bumps [@types/node](https://github.com/DefinitelyTyped/DefinitelyTyped/tree/HEAD/types/node) from 22.3.0 to 22.4.1.
- [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-08-20 11:26:47 +02:00
dependabot[bot]
befb4eba50
Bump i18next-http-backend from 2.5.2 to 2.6.0 (#32254)
Bumps [i18next-http-backend](https://github.com/i18next/i18next-http-backend) from 2.5.2 to 2.6.0.
- [Changelog](https://github.com/i18next/i18next-http-backend/blob/master/CHANGELOG.md)
- [Commits](https://github.com/i18next/i18next-http-backend/compare/v2.5.2...v2.6.0)

---
updated-dependencies:
- dependency-name: i18next-http-backend
  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-08-20 11:26:17 +02:00
dependabot[bot]
7461ab7c0e
Bump typescript-eslint from 8.1.0 to 8.2.0 (#32255)
Bumps [typescript-eslint](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/typescript-eslint) from 8.1.0 to 8.2.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.2.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-08-20 11:25:40 +02:00
rmartinc
3a77ac6403 Remove keycloak-admin-client-jee
Closes #32181

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-08-20 10:53:09 +02:00
dependabot[bot]
95e649f457
Bump @octokit/rest from 21.0.1 to 21.0.2 (#32219)
Bumps [@octokit/rest](https://github.com/octokit/rest.js) from 21.0.1 to 21.0.2.
- [Release notes](https://github.com/octokit/rest.js/releases)
- [Commits](https://github.com/octokit/rest.js/compare/v21.0.1...v21.0.2)

---
updated-dependencies:
- dependency-name: "@octokit/rest"
  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-08-19 16:05:18 +02:00
dependabot[bot]
9175315ad3
Bump rollup from 4.20.0 to 4.21.0 (#32221)
Bumps [rollup](https://github.com/rollup/rollup) from 4.20.0 to 4.21.0.
- [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.20.0...v4.21.0)

---
updated-dependencies:
- dependency-name: rollup
  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-08-19 16:04:23 +02:00
dependabot[bot]
b79d2dedaf
Bump @playwright/test from 1.46.0 to 1.46.1 (#32222)
Bumps [@playwright/test](https://github.com/microsoft/playwright) from 1.46.0 to 1.46.1.
- [Release notes](https://github.com/microsoft/playwright/releases)
- [Commits](https://github.com/microsoft/playwright/compare/v1.46.0...v1.46.1)

---
updated-dependencies:
- dependency-name: "@playwright/test"
  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-08-19 16:04:06 +02:00
dependabot[bot]
35574ecf7c
Bump i18next from 23.12.7 to 23.13.0 (#32223)
Bumps [i18next](https://github.com/i18next/i18next) from 23.12.7 to 23.13.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.12.7...v23.13.0)

---
updated-dependencies:
- dependency-name: i18next
  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-08-19 16:03:49 +02:00
Martin Bartoš
bf5cf47351
Management Interface is turned on even though nothing is exposed on it (#31938)
* Management Interface is turned on even though nothing is exposed on it

Fixes #31818

Signed-off-by: Martin Bartoš <mabartos@redhat.com>

* Remove conditional enablement, add relevancy description

Signed-off-by: Martin Bartoš <mabartos@redhat.com>

---------

Signed-off-by: Martin Bartoš <mabartos@redhat.com>
2024-08-19 15:52:59 +02:00
Stefan Guilhen
fa7c2b5da6 Address review comments
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2024-08-19 09:06:35 -03:00
Stefan Guilhen
6e7b36e82f Add migration tests for the IDP changes
Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2024-08-19 09:06:35 -03:00
Stefan Guilhen
f82159cf65 Rework logic to fetch IDPs for the login page so that IDPs are fetched from the provider and not filtered in code.
Closes #32090

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2024-08-19 09:06:35 -03:00
Stian Thorgersen
b6a82964ed
Initial user documentation for testsuite PoC (#32183)
Closes #31524

Co-authored-by: Šimon Vacek <86605314+vaceksimon@users.noreply.github.com>
2024-08-19 14:02:06 +02:00
Pedro Igor
8e0436715c Support for ALL and ANY organization scope values
Related #31438

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-08-19 08:45:23 -03:00
Michal Hajas
709165a90a
High availability guide updates (#32093)
* Remove connecting Infinispan to Keycloak building block
* Rephrase two sites restriction limitation
* Update the KCB generated yaml files for HA guide
* Remove setting number of owners to 1 for session caches as it is no longer necessary
* Add multi-site feature
* Remove histrograms and slos
* Replace stonith with fencing
* Switch for DG in community and product

Closes #31029

Signed-off-by: Michal Hajas <mhajas@redhat.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
2024-08-19 13:29:11 +02:00
Stian Thorgersen
841e2790ad
Testsuite PoC - Refactor registry and suppliers around annotations, and make lookup of dependency by ref more generic (#32161)
Signed-off-by: stianst <stianst@gmail.com>
2024-08-19 08:10:54 +02:00
Václav Muzikář
799201f406 Fix duplicate options in show-config
Closes #32182

Signed-off-by: Václav Muzikář <vmuzikar@redhat.com>
2024-08-18 09:29:31 +02:00
Alexander Schwartz
74fec50ac5
Load client sessions in chunks from the database (#32185)
Closes #32180

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-08-16 15:00:57 +00:00
Alexander Schwartz
b0dfef0c60
IDE Launcher should set JVM options like kc.sh (#32189)
Closes #32188

Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
2024-08-16 15:56:48 +02:00
Erik Jan de Wit
ce07ad25a7
added translation formatter to role description (#31747)
fixes: #31592

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-08-16 14:57:23 +02:00
Erik Jan de Wit
862854bc29
better unset check (#32062)
* better unset check

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

* better explanation

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

* fix min value

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

* Steal some code from `react-hook-form`

Signed-off-by: Jon Koops <jonkoops@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-08-16 14:56:45 +02:00
Stian Thorgersen
033314446b
Testsuite PoC - Log requested config when using remote server (#32193)
Signed-off-by: stianst <stianst@gmail.com>
2024-08-16 14:28:28 +02:00