Commit graph

296 commits

Author SHA1 Message Date
MikeTangoEcho
c2b132171d Add X509 thumbprint to JWT when using private_key_jwt
Closes keycloak#12946

Signed-off-by: MikeTangoEcho <mathieu.thine@gmail.com>
2024-01-12 16:01:01 +01:00
agagancarczyk
906a276fd5
fixed critical a11y violation (#26157)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-01-12 11:45:02 +00:00
Erik Jan de Wit
118965ca7e
refactored authentication to use the ui-shared (#25730)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-12 10:52:50 +01:00
mposolda
692aeee17d Enable user profile by default
closes #25151

Signed-off-by: mposolda <mposolda@gmail.com>
2024-01-11 12:48:44 -03:00
agagancarczyk
01cd645668
Fixed a11y violations (#26125)
* fixed a11y violations

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fixed a11y violations

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fixed a11y violations

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fixed a11y violations

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-01-11 15:22:21 +00:00
dependabot[bot]
8e8ff33b1f
Bump vitest from 1.1.1 to 1.1.3 in /js (#25969)
Bumps [vitest](https://github.com/vitest-dev/vitest/tree/HEAD/packages/vitest) from 1.1.1 to 1.1.3.
- [Release notes](https://github.com/vitest-dev/vitest/releases)
- [Commits](https://github.com/vitest-dev/vitest/commits/v1.1.3/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-01-11 12:17:52 +00:00
Hynek Mlnařík
0bf1fe3eb3 Use proper attribute name in UI
Fixes: #25827

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-01-11 11:49:52 +01:00
remi
b22efeec78 Add a toggle to use context attributes on the regex policy provider
Signed-off-by: remi <remi.tuveri@gmail.com>
2024-01-10 16:15:25 -03:00
Jon Koops
326ba672cd
Replace react-error-boundary with own implementation (#26094)
Closes #21515

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-01-10 13:37:59 -05:00
Erik Jan de Wit
a142bfd69e
remove default so it can be empty (#26024)
fixes: #23683

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-10 10:04:31 +01:00
agagancarczyk
fa23c0b4c6
Added welcome tab to admin-ui (#25992)
* resolved conflict

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fixed space

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* reemoved logo from welcome tab

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* feedback

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fixed mashead tests

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fixed mashead tests

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-01-09 19:02:31 +00:00
Erik Jan de Wit
6ea9df2cf2
fixed message for disabling clients (#25672)
fixes: #25636

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-09 14:40:36 +01:00
Erik Jan de Wit
2a0ca1cb84
change text based on the context (#25664)
fixes: #25302

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-09 14:39:53 +01:00
Erik Jan de Wit
01e7a58aa4
remove userProfileMetadata from user (#25608)
fixes: #25463

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-09 11:49:51 +01:00
Erik Jan de Wit
dd90ffccaf
fixed label on resource (#25623)
fixes: #20304

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-09 11:43:50 +01:00
Erik Jan de Wit
73378713bc
removed use of ui-ext in library (#25611)
fixes: #25417

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-08 20:14:56 -05:00
agagancarczyk
768231d950
Localization tabs (#25532)
* Add new localization tabs to Administration Console

Closes #23057

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

* css cleanup

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* css cleanup

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka <agancarc@redhat.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-01-08 14:03:26 +00:00
Jon Koops
2eb31f8dbb
Make passing parameters to generateEncodedPath() type-safe (#25944)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-01-05 15:11:43 +01:00
Erik Jan de Wit
6f2579393b added scroll bars to modal
fixes: #25433
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-05 11:52:59 +01:00
Ben Cresitello-Dittmar
057d8a00ac Implement Authentication Method Reference (AMR) claim from OIDC specification
This implements a method for configuring authenticator reference values for Keycloak authenticator executions and a protocol mapper for populating the AMR claim in the resulting OIDC tokens.

This implementation adds a default configuration item to each authenticator execution, allowing administrators to configure an authenticator reference value. Upon successful completion of an authenticator during an authentication flow, Keycloak tracks the execution ID in a user session note.

The protocol mapper pulls the list of completed authenticators from the user session notes and loads the associated configurations for each authenticator execution. It then captures the list of authenticator references from these configs and sets it in the AMR claim of the resulting tokens.

Closes #19190

Signed-off-by: Ben Cresitello-Dittmar <bcresitellodittmar@mitre.org>
2024-01-03 14:59:05 -03:00
Réda Housni Alaoui
67912209ae [Admin UI] Allow DynamicComponents on OIDC and SAML IDP
Signed-off-by: Réda Housni Alaoui <reda-alaoui@hey.com>
2024-01-03 15:14:21 +01:00
Hynek Mlnařík
f7d53ec776 Update SessionsTable.tsx
Signed-off-by: Hynek Mlnařík <hmlnarik@redhat.com>

Closes: #25849
2024-01-02 15:37:08 +01:00
Joshua Sorah
ddb77d2325 Fix 'What is the function of default groups?' popover
Closes keycloak/keycloak#25618

Signed-off-by: Joshua Sorah <jsorah@redhat.com>
2024-01-02 15:22:28 +01:00
Marek Posolda
8d887febb9
Tooltips improvements when configuring user profile attribute (#25739)
closes #25738

Signed-off-by: mposolda <mposolda@gmail.com>
2023-12-21 09:59:34 +01:00
Erik Jan de Wit
8263c538d8
don't add empty key values (#25472)
* don't add empty key values

fixes: #24678

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

* fixed test

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-12-15 12:30:16 +00:00
Hynek Mlnařík
c6ce859493
Do not show sign-out action for offline sessions (#25577)
Closes: #24763

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2023-12-15 12:55:11 +01:00
Erik Jan de Wit
914fd39dd3
use login realm (#25466)
fixes: #22431, fixes: #25152

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-12-13 16:15:30 +01:00
Erik Jan de Wit
e6b230e31b
fix moving of sub flows (#25462)
fixes: #25263

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-12-13 16:14:33 +01:00
Pedro Igor
0cf1e88f60 Deleting an atribute from the UI is reseting the unmanaged attribute policy
Closes #25515

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2023-12-13 08:13:34 -03:00
agagancarczyk
fbfd2357a5
Extra realm settings tests (#25488)
* added a few tests

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* added new and fixed old tests

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* added more tests

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-12-12 10:42:39 +00:00
Erik Jan de Wit
c7be03b103
Idp pager UI (#24933)
* Identity Provider Pager (UI) Closes #21074

Signed-off-by: Andreas Kozadinos <koza-sparrow@hotmail.com>

* fixed the PR

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

* Update js/apps/admin-ui/src/identity-providers/IdentityProvidersSection.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update js/apps/admin-ui/src/identity-providers/IdentityProvidersSection.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

* Update js/apps/admin-ui/src/identity-providers/ManageOrderDialog.tsx

Co-authored-by: Jon Koops <jonkoops@gmail.com>

---------

Signed-off-by: Andreas Kozadinos <koza-sparrow@hotmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Andreas Kozadinos <koza-sparrow@hotmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-12-11 13:38:20 +00:00
Pedro Igor
78ba7d4a38 Do not allow removing username and email from user profile configuration
Closes #25147

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2023-12-11 08:30:28 +01:00
agagancarczyk
72e57ca298
Realm roles tests (admin-ui) (#25376)
* added missing tests for realm roles

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* added more tests for realm roles

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-12-07 14:34:31 +00:00
agagancarczyk
c3bc43aa86
Added tests for client scopes/evaluate tab (#25329)
* added tests for clients/authenticated access policies subtab

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* added tests

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* improvements

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* fixed test

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* simplified test

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* changed checking for website

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* cleanup

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

* cleanup

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-12-07 11:17:51 +00:00
Erik Jan de Wit
6ba716cbed
set the searching state when we actually are (#24499)
* set the searching state when we actually are

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

* Update js/apps/admin-ui/maven-resources/theme/keycloak.v2/admin/messages/messages_en.properties

Co-authored-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-12-07 12:06:23 +01:00
Stan Silvert
f5dc034c0a
Allow authorization changes with fine-grained client access and manage-authorization. (#25280)
Signed-off-by: Stan Silvert <ssilvert@redhat.com>
2023-12-06 08:16:04 -05:00
Erik Jan de Wit
e69031d411
enable dot in attribute when user profile enabled (#25104)
fixes: #24918

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-12-05 08:09:55 -05:00
Jon Koops
8b5ebb6597 Remove 'Product' information from dashboard
Closes #25103

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2023-12-04 13:26:08 +01:00
Jon Koops
dc0455b73c
Unify utils for interpolated labels under ui-shared (#25203)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2023-12-01 14:41:15 +01:00
Jon Koops
28810222d3
Fix 'Cancel' button in the user form (#25161)
Closes #25051

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2023-11-30 12:50:22 +00:00
Erik Jan de Wit
ea3624291a
Change language name to own language (#25082)
when picking you own locale this makes sense
but when configuring a realm for others it does not
changing it so that language names are in the users language

fixes: #24611

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-30 13:35:01 +01:00
Pedro Igor
c7f63d5843 Add options to change behavior on how unmanaged attributes are managed
Closes #24934

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2023-11-30 06:58:21 -03:00
rmartinc
16afecd6b4 Allow automatic download of SAML certificates in the identity provider
Closes https://github.com/keycloak/keycloak/issues/24424

Signed-off-by: rmartinc <rmartinc@redhat.com>
2023-11-29 18:03:31 +01:00
Erik Jan de Wit
cb4008e8d6
removed status row and use badge (#24683)
fixes: #24470

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-28 17:13:36 +01:00
Hynek Mlnařík
c03c2e953a
Support OR condition for forms + authz (#24879)
Closes: #24586

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2023-11-28 08:07:11 -05:00
Tero Saarni
ab3758842c
Add configuration option for LDAP referral (#24852)
Signed-off-by: Tero Saarni <tero.saarni@est.tech>
2023-11-28 14:06:34 +01:00
Erik Jan de Wit
6a60d33d92
only flatten array when it's length is one (#24956)
fixes: #24927

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-27 12:52:37 +01:00
Jon Koops
90f4fbe4e5
Fix search in group picker dialog (#25009)
Closes #25008

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2023-11-24 14:29:22 +00:00
Erik Jan de Wit
9be83e01c4
should be disabled when mode = UNSYNCED (#24911)
fixes: #24261

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-24 15:24:06 +01:00
Erik Jan de Wit
c0c0a80e21
fixed possible undefined enabled flag (#24915)
fixes: #23841

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-24 12:53:37 +01:00