Commit graph

527 commits

Author SHA1 Message Date
agagancarczyk
2578705f78
replaced KeycloakTextInput with TextControl (#27658)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-03-07 13:08:56 +00:00
Erik Jan de Wit
c6210b773f
added better default value (#27594)
fixes: #27548

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-07 10:04:38 +01:00
Erik Jan de Wit
4feb776d3d
fixed the search attributes when federation is enabled (#27550)
fixes: #23701

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-07 10:03:56 +01:00
Erik Jan de Wit
33219a334b
changed to use ui-shared (#27428)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-07 10:02:57 +01:00
Erik Jan de Wit
b0b967d8d4
migrated user forms to ui-shared (#27593)
* migrated user forms to ui-shared

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

* review comments

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>
2024-03-06 16:06:13 +00:00
agagancarczyk
65448ff8c3
Changed KeyckloakTextInput to TextControl in NewRealmForm (#27596)
* Replaced KeycloakTextInput with TextControl

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

* changed Switch to DefaultSwitchControl

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

* Fix `defaultValue` behaviour for `SwitchControl`

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

* fixing test

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

* fixing test

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

---------

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-03-06 14:07:49 +00:00
agagancarczyk
8689208e3a
fixed messages and replaced KeyckloakTextInput (#27591)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-03-06 10:25:57 +00:00
Jon Koops
3e46810b37
Port regex client authorization policy to new form controls (#27569)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-06 10:26:25 +01:00
Jon Koops
658c033cf7
Port common authorization policy fields to new form controls (#27571)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-06 10:25:24 +01:00
Erik Jan de Wit
b486972485
migrated some of the controls to ui-shared (#27424)
* migrated some of the controls to ui-shared

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

* Update js/apps/admin-ui/src/user-federation/ldap/LdapSettingsGeneral.tsx

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

* Update js/apps/admin-ui/src/user-federation/ldap/LdapSettingsGeneral.tsx

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

* Update js/apps/admin-ui/src/user-federation/ldap/LdapSettingsKerberosIntegration.tsx

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

* Update js/apps/admin-ui/src/user-federation/ldap/LdapSettingsSearching.tsx

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

* Update js/apps/admin-ui/src/user-federation/ldap/mappers/LdapMapperDetails.tsx

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

* Update js/apps/admin-ui/src/user-federation/ldap/mappers/LdapMapperDetails.tsx

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

* Update js/apps/admin-ui/src/user-federation/ldap/mappers/LdapMapperDetails.tsx

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

* Update js/apps/admin-ui/src/user-federation/ldap/mappers/LdapMapperDetails.tsx

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

* Update js/apps/admin-ui/src/user-federation/ldap/LdapSettingsGeneral.tsx

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

* Apply suggestions from code review

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

* review fixes

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

* fixed test

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

* tests

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>
2024-03-06 08:40:54 +00:00
Jon Koops
a3c6139a2f
Port group client authorization policy to new form controls (#27570)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-05 19:56:02 +01:00
Jon Koops
d1c9e97a12
Port import form to new form controls (#27568)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-05 18:10:38 +00:00
Jon Koops
d124b02a95
Port logout panel to new form controls (#27419)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-05 18:04:47 +01:00
Jon Koops
96841f8d5b
Port client login settings to new form controls (#27414)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-05 17:02:07 +00:00
Pedro Igor
d12711e858 Allow fetching roles when evaluating role licies
Closes #20736

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-03-05 15:54:02 +01:00
Hynek Mlnarik
7e41aa9880 Show expiration only when explicitly requested
Fixes: #20792

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-03-05 07:44:42 +01:00
agagancarczyk
f49efd0a51
Adding translations when a new attribute is created (#27313)
* reimplemented attribute translations

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

* added translations refresh

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

* improvement

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

* feedback

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

* feedback

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

* refactor

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

* refactor

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

* added type

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-03-04 11:39:20 +00:00
Peter Keuter
6609b591e1
Append required user actions and only when the password is temporary (#27185)
Signed-off-by: Peter Keuter <github@peterkeuter.nl>
2024-03-01 16:43:07 +01:00
Hynek Mlnarik
486c21cf77 Read Only Access of a realm clients' Authz is broken for Admin Console
Fixes #24586

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-03-01 14:03:08 +01:00
Aboullos
5719d71dd4
Modify no roles for dedicated client scope (#27395)
Signed-off-by: Alfredo Moises Boullosa <aboullos@redhat.com>
2024-02-29 17:16:09 +01:00
Réda Housni Alaoui
a3b3ee4b87
Ability to declare a default "First broker login flow" per Realm
Closes #25823

Signed-off-by: Réda Housni Alaoui <reda-alaoui@hey.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-02-28 16:17:51 +01:00
graziang
16a854c91b Add option to clients to use lightweight access token
Add an "Always use lightweight access token" option on the client's Advanced tab in the "Advanced Settings" section that uses the already existing Constants.USE_LIGHTWEIGHT_ACCESS_TOKEN_ENABLED to store a boolean client attribute.
The attribute value is used to enable or disable the lightweight access token.
Closes #27238

Signed-off-by: graziang <g.graziano94@gmail.com>
2024-02-28 10:18:26 +01:00
Erik Jan de Wit
de4edc5232
GitButler Integration Commit (#27088)
This is an integration commit for the virtual branches that GitButler is tracking.

Due to GitButler managing multiple virtual branches, you cannot switch back and
forth between git branches and virtual branches easily.

If you switch to another branch, GitButler will need to be reinitialized.
If you commit on this branch, GitButler will throw it away.

Here are the branches that are currently applied:
 - main (refs/gitbutler/main)
   branch head: 512fd32743de60486810c1fb94fa0c4264c2867e

Your previous branch was: HEAD

The sha for that commit was: c30b9545ef

For more information about what we're doing here, check out our docs:
https://docs.gitbutler.com/features/virtual-branches/integration-branch

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: GitButler <gitbutler@gitbutler.com>
2024-02-27 07:54:06 -05:00
Pedro Igor
0c91fceaad Allow setting if both 'client_id' and 'id_token_hint' params should be sent in logout requests
Closes #27281

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-02-27 20:37:27 +09:00
Erik Jan de Wit
dfd3fee95a
reset form when provider / mapperPype changes (#26971)
fixes: #26697

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-27 10:05:24 +01:00
Oliver
bf89d53134
Show display name in realm selector (#27259)
Solves #17735

Signed-off-by: Oliver Cremerius <antikalk@users.noreply.github.com>
2024-02-26 14:04:38 +01:00
kaustubh-rh
03f6cda85a
Prevent user from removing built-in client scopes (#27134)
Closes #26937

Signed-off-by: Kaustubh B <kbawanka@redhat.com>
2024-02-26 11:16:23 +01:00
Peter Keuter
fb262a05d9
Set the selected locale to default realm locale when creating a user (#27163)
* fix: set the selected locale to default realm locale when creating a user

Signed-off-by: Peter Keuter <github@peterkeuter.nl>

* Update js/apps/admin-ui/src/user/CreateUser.tsx

Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
Signed-off-by: Peter Keuter <github@peterkeuter.nl>

* fix: check if defaultLocale is set

Signed-off-by: Peter Keuter <github@peterkeuter.nl>

* chore: implement proposed change

Signed-off-by: Peter Keuter <github@peterkeuter.nl>

---------

Signed-off-by: Peter Keuter <github@peterkeuter.nl>
Co-authored-by: Erik Jan de Wit <edewit@redhat.com>
2024-02-26 09:19:29 +01:00
Erik Jan de Wit
f023314d52
added better default (#27196)
fixes: #27173

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-26 08:35:06 +01:00
Peter Keuter
0960114c03
Check if registrationEmailAsUsername is explicitly set to false (#27139)
Closes #27137

Signed-off-by: Peter Keuter <github@peterkeuter.nl>
2024-02-22 15:58:04 +01:00
Pedro Igor
604274fb76 Allow setting an attribute as multivalued
Closes #23539

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-22 12:56:44 +01:00
Douglas Palmer
b0ef746f39 Permanently lock users out after X temporary lockouts during a brute force attack
Closes #26172

Signed-off-by: Douglas Palmer <dpalmer@redhat.com>
2024-02-22 09:34:51 +01:00
Aouichaoui Youssef
25132477a3
Create a seamless transition. (#26745)
Signed-off-by: Youssef Awichawi <youssef3wi@icloud.com>
2024-02-20 13:18:05 +00:00
Erik Jan de Wit
767ae13db4
fixed labels (#27034)
related to #26360

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-20 08:03:45 -05:00
agagancarczyk
62c402872a
fixed bug (#27145)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-02-20 10:08:00 +00:00
Takashi Norimatsu
2f35d0e346 Add EdDSA/Ed25519 to WebAuthn Signature algorithms
closes #15000

Signed-off-by: Takashi Norimatsu <takashi.norimatsu.ws@hitachi.com>
2024-02-19 14:08:04 +01:00
mposolda
b4d289c562 Fixing UriValidator
closes #26792

Signed-off-by: mposolda <mposolda@gmail.com>
2024-02-15 10:30:39 +01:00
Erik Jan de Wit
ba91f2aacc
refresh the when we need to refresh (#27028)
fixes: #27002

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-14 13:19:52 +00:00
Erik Jan de Wit
5242f5fcb6
pf5 refactor client scope (#26734)
* use ui-shared controls

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

* add `hasNoPaddingTop` to Switch Label

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

* use ui-shared controls

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

* fixed tests

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-13 07:53:38 -05:00
Erik Jan de Wit
9f262da751
bigger column (#26740)
fixes: #25789

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-12 09:18:12 +00:00
Erik Jan de Wit
39bd59cada
fix flow status (#26685)
fixes: #26636

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-12 09:21:23 +01:00
Daniel Fesenmeyer
20e535a3f6
Add user profile tests for Checks that attribute with select annotation (#26899)
Closes #26898

Signed-off-by: Daniel Fesenmeyer <daniel.fesenmeyer@bosch.com>
2024-02-09 17:34:55 +01:00
agagancarczyk
2a8b54114f
Removed duplicate refresh buttons (#26857)
* fixed refresh btn for events

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>
2024-02-07 11:24:52 +00:00
agagancarczyk
b7bb37867d
fixed search results after removing chips from effective message bundles (#26839)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-02-07 08:16:41 +00:00
agagancarczyk
4d106b41f3
Fixed token expiration help text (#26831)
Closes #26668

Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-02-06 15:01:10 +00:00
agagancarczyk
f0e5172b11
fixed tabbing issues in dropdown forms (#26827)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-02-06 14:21:02 +00:00
Erik Jan de Wit
acd9def8aa
added refresh button (#26599)
fixes: #21771

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-02-06 08:30:06 -05:00
agagancarczyk
c29188c629
Fixed/improved issues with effective message bundles tab (#26760)
* added default locale to the search

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

* filtered out duplicate locales

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

* fixed dropdown and locales

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

* fixed dropdown and locales

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

* locale chip to lower case

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

* fixed type

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

* fixed empty chip issue

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

* added DropdownPanel component

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

* improved css

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

* improved css

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-02-06 10:15:30 +00:00
Hynek Mlnarik
0df5452507 Keep time units upon time entry
Fixes: #26549

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-02-05 10:02:50 +01:00
mposolda
2f98c4a555 Tooltip for attribute name in user-profile configuration is incorrect
closes #26747

Signed-off-by: mposolda <mposolda@gmail.com>
2024-02-02 20:37:33 +01:00
agagancarczyk
1fe103f260
fixed disabling unassign on cancel (#26693)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-02-01 14:21:55 +00:00
Pedro Igor
3a7ce54266 Allow formating numbers when rendering attributes
Closes keycloak#26320

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-02-01 08:14:58 -03:00
agagancarczyk
93a6d56af3
Renamed messages in localization/realm overrides (#26663)
* renamed messages

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

* fixed test

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-02-01 11:54:26 +01:00
agagancarczyk
1281cbf0c0
Added error message if user attribute save fails (#26592)
* added error message

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

* feedback

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-31 12:22:13 +00:00
agagancarczyk
f173c87e34
changed messages (#26633)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-01-31 12:09:41 +00:00
Stefan Gries
e988e4f135
Implement case-insensitive comparison for search on provider info page (#26590)
Helps users to find the providers they are searching for without knowing how it is spelled internally.

Fixes #26589

Signed-off-by: Stefan Gries <stefan.gries@codecentric.de>
2024-01-31 12:06:28 +00:00
mposolda
10ba70c972 Possibility to email being not required
closes #26552

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-01-31 10:57:10 +01:00
Erik Jan de Wit
02d86d1d8f
removed revocation (#26459)
fixes: #17734

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-30 10:49:39 +01:00
Dipesh Singh
7e021730c7
Show displayName of realm on welcome page (#26562)
Closes #25897

Signed-off-by: dipeshsingh253 <sinhdipesh@gmail.com>
2024-01-29 19:23:08 +01:00
Marek Posolda
651d99db25
Allow selecting attributes from user profile when managing token mappers (#26415)
* Allow selecting attributes from user profile when managing token mappers
closes #24250

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

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-01-25 17:01:02 +01:00
Florian Garcia
af0b9164e3
fix: hardcoded conditional rendering of client secret input field (#25776)
Closes #22660

Signed-off-by: ImFlog <garcia.florian.perso@gmail.com>
Co-authored-by: useresd <yousifmagdi@gmail.com>
2024-01-24 16:30:22 +01:00
agagancarczyk
4061abf588
fixed bug (#26453)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-01-24 12:59:32 +00:00
vickeybrown
86098242a5
Added Client Type feature flag to begin client type work (#26389)
* Added Client Type feature flag to begin client type work

Closes #26346

Signed-off-by: vibrown <vibrown@redhat.com>

* Fixed formatting issue

Signed-off-by: vibrown <vibrown@redhat.com>

* Updated HelpCommandDistTest messages

Signed-off-by: vibrown <vibrown@redhat.com>

* Fixed formatting on HelpCommandDistTest messages

Signed-off-by: vibrown <vibrown@redhat.com>

---------

Signed-off-by: vibrown <vibrown@redhat.com>
2024-01-24 12:07:07 +00:00
Takashi Norimatsu
b99f45ed3d Supporting EdDSA
closes #15714

Signed-off-by: Takashi Norimatsu <takashi.norimatsu.ws@hitachi.com>

Co-authored-by: Muhammad Zakwan Bin Mohd Zahid <muhammadzakwan.mohdzahid.fg@hitachi.com>
Co-authored-by: rmartinc <rmartinc@redhat.com>
2024-01-24 12:10:41 +01:00
Peter Keuter
21bdea3b71
Groups should be clickable when user has view-access on the group (#26033)
Closes #26040

Signed-off-by: Peter Keuter <github@peterkeuter.nl>
2024-01-24 09:17:39 +00:00
Peter Keuter
a0bcf35236
fix: check actual subgroup rights when clicking a subgroup (#26230)
Signed-off-by: Peter Keuter <github@peterkeuter.nl>
2024-01-24 07:30:47 +00:00
agagancarczyk
00fdb8e2f5
Fixed dropdown form in clients authorization policies tab (#26424)
* fixed dropdown forms in clients authorization

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

* improved translations

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

* improved

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-24 07:49:27 +01:00
Jon Koops
5bf2d4b6ec
Enable PKCE by default for Keycloak JS (#26412)
Closes #26411

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-01-23 14:04:13 +01:00
agagancarczyk
73e5c8290f
Fixed a11y violations and typos in translations for messages in the dialog message for disabling clients. (#26395)
* fixed critical violations

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

* fixed more a11y violations

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

* renamed translation

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

* added area-label

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

* added area-label

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

* renamed spinners translation

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-23 09:28:50 +00:00
Sebastian Schuster
8807562593
Make role mapping tab visible with view user permissions (#26386)
Co-authored-by: Salem Wafi <32916450+SalemWafi@users.noreply.github.com>
Signed-off-by: Sebastian Schuster <sebastian.schuster@bosch.io>
2024-01-22 17:06:25 +01:00
Jon Koops
03b03f3ccd
Add missing translations for WebAuthN in Account Console (#26384)
Closes #26383

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-01-22 16:04:22 +00:00
agagancarczyk
43053b8a82
Fixed translation for search box in clients authorization policies tab (#26387)
* resolved conflict

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

* resolved conflict

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-22 16:10:37 +01:00
agagancarczyk
37e0f8f92b
Fixed resource and permission names and tooltip message (#26385)
* fixed typo

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

* renamed key

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-22 15:47:18 +01:00
agagancarczyk
4a49759aa0
More a11y fixes (#26344)
* fixed a11y violations

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

* fixed more a11y violations

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

* a11y fixes

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

* fixed a11y violations

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

* fixed more 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-22 08:04:27 -05:00
Erik Jan de Wit
37790c7956
Add a way to extend the UI with an Java API (#23772)
* POC to see how we could extend the UI

This is very crude and there are still open issues that need to be worked out

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

* added saving option

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

* added list and recreate client form

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

* add tab ui

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

* integrate tabs

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

* remove examples

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

* fixed error messages

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

* added Feature for ui customization

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-22 08:19:58 +00:00
Jon Koops
972d198c45
Fix broken flow binding dialog (#26336)
Closes #26335

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-01-19 14:41:29 +01:00
agagancarczyk
229cbb5429
Localization > Effective message bundles tab improvements (#26302)
* added a couple of improvements

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

* fix theme and themeType

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

* improved hasWords filter

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

* added refresh btn

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

* fixed backend

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

* added validation

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

* cleanup

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

* replaced sort with localSort

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

* improved spacing

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

* added useMemo

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

* removed filter on themeTypes

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-19 07:21:29 -05:00
Erik Jan de Wit
f4a55e43e3
remove client side validation (#26238)
fixes: #26059

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-19 10:45:26 +01:00
Peter Keuter
2cd23e29e5
fix: permissions tab should be only shown with the correct rights (#26034)
Signed-off-by: Peter Keuter <github@peterkeuter.nl>
2024-01-16 13:26:58 +00:00
agagancarczyk
33651c396c
Localization: Realm Overrides Fixes (#26169)
* resolved conflict

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

* improvements

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

* improved tests

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

* feedback

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

* test fix

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

* test fix

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

* resolved conflict

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

* fixed test

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-16 12:24:26 +00:00
Erik Jan de Wit
12ae800217
fixes navigation when searching for groups (#26053)
fixes: #25927

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-01-16 10:59:52 +01:00
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
Hynek Mlnarik
5ec394b258 Transient sessions: UX improvements
Closes: #24279

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2023-11-21 08:31:56 +01:00
dependabot[bot]
9c37cdd0ac
Bump vite from 4.5.0 to 5.0.0 in /js (#24806)
Bumps [vite](https://github.com/vitejs/vite/tree/HEAD/packages/vite) from 4.5.0 to 5.0.0.
- [Release notes](https://github.com/vitejs/vite/releases)
- [Changelog](https://github.com/vitejs/vite/blob/main/packages/vite/CHANGELOG.md)
- [Commits](https://github.com/vitejs/vite/commits/create-vite@5.0.0/packages/vite)

---
updated-dependencies:
- dependency-name: vite
  dependency-type: direct:development
  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>
2023-11-16 23:41:25 +01:00
dependabot[bot]
f550ac9035
Bump prettier from 3.0.3 to 3.1.0 in /js (#24724)
* Bump prettier from 3.0.3 to 3.1.0 in /js

Bumps [prettier](https://github.com/prettier/prettier) from 3.0.3 to 3.1.0.
- [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.0.3...3.1.0)

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

Signed-off-by: dependabot[bot] <support@github.com>

* Fix linting issues

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

---------

Signed-off-by: dependabot[bot] <support@github.com>
Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-11-14 17:59:24 +00:00
Erik Jan de Wit
89abc094d1
userprofile shared (#23600)
* move account ui user profile to shared

* use ui-shared on admin same error handling

also introduce optional renderer for added component

* move scroll form to ui-shared

* merged with main

* fix lock file

* fixed merge error

* fixed merge errors

* fixed tests

* moved user profile types to admin client

* fixed more types

* pr comments

* fixed some types
2023-11-14 08:04:55 -03:00
Erik Jan de Wit
fe7833c957
Load Admin Console localizations from resource bundles (#24316)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-11-13 12:39:46 -05:00
Oliver
57669d556a
Translate User Profile Attribute Group (#24445)
Translate User Profile Attribute Group Name and Description

Fixes keycloak#24431

Co-authored-by: agagancarczyk <4890675+agagancarczyk@users.noreply.github.com>
2023-11-07 08:01:39 -05:00
agagancarczyk
0c6ed85579
fixed a11y violations (#24530)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-11-06 10:49:25 +01:00
Jon Koops
bd80f208fa
Remove leftover namespaces from translation keys (#24486) 2023-11-02 16:03:47 +00:00
Jon Koops
222db659f4
Add 'Email Verified' checkbox if user profile is enabled (#24463) 2023-11-01 15:11:50 +01:00
Jon Koops
b0c22ce357
Improve error handling for Fetch calls (#24460)
Closes #24293
2023-11-01 11:47:23 +00:00
Justin Tay
3ff0476cc3 Allow customization of aud claim with JWT Authentication
Closes #21445
2023-10-31 11:33:47 -07:00
Oliver
8ff76694a2
Always render multi valued inputs for multi valued input types. (#24359)
Closes #24311
Closes #24318

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-31 12:12:07 +01:00
rmartinc
7deb4ca545 Group count and PartialExport permission fixes
Closes https://github.com/keycloak/keycloak/issues/12171
2023-10-31 01:40:21 -07:00
Jon Koops
1145568324
Add some type-safety enhancements to AttributesTab (#24142) 2023-10-30 14:57:07 +01:00
Jon Koops
357f3b2978
Use default namespace for i18next (#24322) 2023-10-27 16:25:59 +00:00
Erik Jan de Wit
487ecd7380
add missing translations (#24347) 2023-10-27 13:32:16 +02:00
Alice
69497382d8
Group scalability upgrades (#22700)
closes #22372 


Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
Co-authored-by: Michal Hajas <mhajas@redhat.com>
2023-10-26 16:50:45 +02:00
agagancarczyk
54a081832a
Additional tests for User Profile, Attributes & Realm-Settings/Login configs (#24243)
* added some user profile tests

* added some user profile tests

* added more tests for user profile and attributes

* improved tests for user profile

* removed videos

* refactor and improvement

* improved tests

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-10-26 14:22:43 +01:00
Hynek Mlnarik
c036980c37 Add TRANSIENT_USERS feature flag 2023-10-25 12:02:35 +02:00
Hynek Mlnarik
a668c2cb2b Support for transient brokering in admin console
Part-of: Add support for not importing brokered user into Keycloak database

Closes: #11334
2023-10-25 12:02:35 +02:00
Erik Jan de Wit
fb6af4d301
fixed count for pagination (#24034)
fixes: #23709
2023-10-24 08:00:50 -04:00
kaustubh-rh
66b0fd0c88
Fix for issue #24187 (#24244) 2023-10-24 13:06:55 +02:00
Thomas Darimont
e567210ed1
Add dedicated feature flag for oauth device grant flow (#23892)
Closes #23891
2023-10-24 10:09:26 +02:00
jackie-linz
03a8f05d14
fix exception when user does not have view-realm role (#24036)
Closes #23954
2023-10-23 14:35:31 -04:00
Jon Koops
fefe2f57ae
Use JavaScript private class features (#24054)
Uses JavaScript [private class features](https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Classes/Private_class_fields) over TypeScript's `private` keyword. Also introduces some ESLint configuration to enforce this rule throughout the project.
2023-10-23 14:12:55 -04:00
Erik Jan de Wit
bafc6da6b2
added default field type (#24172)
* added default field type

default will now render a multiline input
which makes more sense then a multi select
with no options

fixes: #23911

* changed to only render multi line when needed
2023-10-20 13:07:55 -04:00
Erik Jan de Wit
29de841883
small refactor on the scroll form (#24152)
after this refactor it can be moved into ui-shared
2023-10-20 13:40:16 +02:00
Artur Baltabayev
4c25264c57
Realm localization texts are now sorted by key. (#23378)
Closes #20876
2023-10-20 12:33:36 +02:00
himanshi1099
b8eb051adb
Fix for issue #24035 (#24154)
Co-authored-by: Himanshi Gupta <higupta@higupta.remote.csb>
2023-10-20 10:18:29 +00:00
Erik Jan de Wit
c7183049c8
removed some remnant namespaces usage (#23669) 2023-10-19 14:07:48 +02:00
Erik Jan de Wit
b7ce04eb50
Make dropdown groups unique (#24137)
fixes: #24067
2023-10-19 10:17:38 +00:00
Erik Jan de Wit
a2dd0f31c5
multiple values are valid (#24050)
fixes: #24032
2023-10-18 20:33:44 -04:00
Jon Koops
4291f4b01b
Enhance user profile attribute form UX (#24083)
Enhances the user experience for the create and edit form for User Profile attribute by making the following changes:

- Prevents the scopes from being persisted if an attribute can always be shown.
- Hides the scopes if 'Always' is selected, as the control is not interactive.
- Sets the attribute to be editable by admins by default.

Closes #24081
Closes #23790

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2023-10-18 18:24:30 +02:00
Pedro Igor
8cfd9ba5aa
Do not show empty annotation when creating attribute group (#23922)
Closes #23789
2023-10-18 10:33:52 +00:00
Stan Silvert
dfe64f6271
Allow full use of Authorization tab for anyone with manage-authorization (#23983)
* Allow full use of Authorization tab for anyone with manage-authorization
access.

* Allow export with manage-authorization role.

* manage-authorization makes more sense for the subtabs
2023-10-17 12:39:27 -04:00
Erik Jan de Wit
427cd4b290
removed invalid RealmName check (#24001)
back to having the server check this
now that we have #23667 there are no issues with spaces
2023-10-17 15:20:12 +02:00
Erik Jan de Wit
13207aabac
Encode parameters for React Router links in URL-safe manner (#23667)
Closes #22600

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-17 07:36:26 +00:00
Erik Jan de Wit
1cd20e0e43
always allow browsing as we don't know the subgroups (#23657)
fixes: #23582
2023-10-16 19:20:12 +00:00
Charley Wu
31759f9c37
WebAuthn support for native applications. Support custom FIDO2 origin validation (#23156)
Closes #23155
2023-10-13 15:25:10 +02:00
Erik Jan de Wit
0624ad5b0e
added id when the object is still new (#23664)
fixes: #22890
2023-10-10 08:00:50 -04:00
Martin Bartoš
21a23ace1d Mark required config properties for LDAP Mappers
Closes #23685
2023-10-09 08:46:57 +02:00
osorionicolas
990a54dce5
Update GroupAttributes to refresh fields on group change (#23675)
Closes #23654
2023-10-08 17:40:20 +02:00
Pedro Igor
290bee0787
Resolve several usability issues around User Profile (#23537)
Closes #23507, #23584, #23740, #23774

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-10-06 10:15:39 -03:00
potterhe
73432f86ec
fix userform lastname input can not get focus (#23478)
Closes #23481
2023-09-25 07:18:11 +00:00
Erik Jan de Wit
c346786491
Remove the last of the namespaces for localization (#23261)
Closes #23261
2023-09-25 09:06:56 +02:00
Erik Jan de Wit
a584ff94a3
changed to validators (#23250)
fixes: #23180
2023-09-25 07:19:54 +02:00
agagancarczyk
d8ff73e34f
Fixed creating user (#23484)
Closes #23327
2023-09-22 21:46:21 +02:00
osorionicolas
48a0b3436d
Fix issue with groups search not sending the search input in the request (#23452)
Closes #23341
2023-09-22 14:35:11 +00:00
osorionicolas
949fb47326
Set search as case-insensitive for authentication steps (#23406)
Closes #21989
2023-09-22 08:41:32 +00:00
Stan Silvert
2463c6291d
Call correct SAML key download API (#23375) 2023-09-20 14:53:57 -04:00
rmartinc
f8a9e0134a Ensure that the EncryptedKey is passed to the DecryptionKeyLocator for SAML
Closes https://github.com/keycloak/keycloak/issues/22974
2023-09-20 15:09:18 +02:00
agagancarczyk
59160e50e2
Fixes help texts for HelpItem in Admin-UI (#23371)
* fixed help texts for authorization

* fixed help texts for client scopes

* fixed help texts for clients

* fixed help texts for user federation

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-09-20 09:52:43 +01:00
agagancarczyk
2ec3f33d5b
fixed help texts for identity providers (#23367)
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-09-20 08:28:28 +01:00
Erik Jan de Wit
f4c8ded5f6
Removed namespaces from messages (#23205) 2023-09-14 11:01:15 +02:00
Erik Jan de Wit
088abcf1d2
fix user profile form saving (#23039)
fixes: #22982
2023-09-14 08:56:13 +02:00
Erik Jan de Wit
90a88976b6
this removes the prefixes for (#23137)
client-scopes
client-scopes-help
clients-help
clients
working towards fixing #23094
2023-09-13 10:05:17 -04:00
Erik Jan de Wit
0789d3c1cc
better features overview (#22641)
Closes #17733
2023-09-12 16:03:13 +02:00
Thomas Darimont
3908537254
Show expiration date for certificates in Admin Console (#23025)
Closes #17743
2023-09-12 07:56:09 -04:00
Erik Jan de Wit
fc5565ec08
add stringify to MultiLineInput (#23086)
fixes: #22937
2023-09-12 09:58:07 +00:00
Erik Jan de Wit
53ad5cd116
fixed ip address filter (#22971)
fixes: #22923
2023-09-11 13:45:18 +02:00
Erik Jan de Wit
564441899b
merge all namespaces into one (#22949)
* merge all namespaces into one

added fallback namespace to the configuration to minimize
changes to the keys

* small fix

* Fix the broken `OverridesBackend`

* remove stray console log

* restore ns argument

* PR review

* merge main

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-09-08 15:17:17 +02:00
kaustubh-rh
bc551f335a
Not-working link during adding a SAML Identity provider (#23093) 2023-09-08 09:12:15 -04:00
rmartinc
8887be7887 Add a new identity provider for LinkedIn based on OIDC
Closes https://github.com/keycloak/keycloak/issues/22383
2023-09-06 16:13:31 +02:00
Erik Jan de Wit
6830735ed9
add stringify for custom idp (#22699) 2023-09-05 13:42:30 +02:00
Jon Koops
a60849a86c
Add correct translation key for temporary password reset help text (#22929) 2023-09-04 10:31:40 +00:00
Jon Koops
bb4495adb7
Centralize user form to user representation conversion (#22851) 2023-09-04 06:55:34 +02:00
I G Prasad
f99c82cd43
Update Redirect URI when alias changes (#22771)
Closes #22549
2023-09-02 11:26:25 +00:00
Erik Jan de Wit
1b722477a2
Add tests to the Account Console for user profile (#22576) 2023-08-31 11:32:39 +02:00
mposolda
57e51e9dd4 Use an original domain name of Kerberos Principal in UserModel attribute instead of configured value of Kerberos realm in User federation
closes #20045
2023-08-30 13:24:48 +02:00