Commit graph

586 commits

Author SHA1 Message Date
Erik Jan de Wit
86101b3d1d
changed to use the right query (#30252)
fixes: #30049

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-06-08 21:09:48 +02:00
Erik Jan de Wit
0bfadacffd
fixed display value (#30159)
fixes: #30126

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-06-08 11:34:38 +02:00
Erik Jan de Wit
d2e8092c7f
move keycloak select to ui-shared and fix typeahead (#30209)
* move keycloak select to ui-shared and fix typeahead

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

* Fix the account console test

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>

* Fix cypress tests

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>

* fix for when value is an array

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

* fix for when value is an array

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

* add support for array selecting single value

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

* fixed saying open once clicked outside and value

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

* small issue when pressing enter

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
Co-authored-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-06-07 16:05:03 +00:00
Erik Jan de Wit
5897334ddb
Align environment variables between consoles (#30125)
* change to make authServerUrl the same as authUrl

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

* Remove `authUrl` entirely

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

* Remove file that is unrelated

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

* Split out and align environment variables between consoles

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

* Restore removed variables to preserve backwards compatibility

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

* Also deprecate the `authUrl` for the Admin Console

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-06-06 08:36:46 +02:00
Erik Jan de Wit
9afb1a47fb
fixed flaky-ness and removed deprecated select (#30078)
fixes: #29507

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-06-05 14:48:48 +02:00
mposolda
0bf613782f Updating client policies in JSON editor is buggy. Attempt to update global client policies should throw the error
closes #30102

Signed-off-by: mposolda <mposolda@gmail.com>
2024-06-05 13:55:02 +02:00
Hynek Mlnarik
df4b6c871d Fix linting issues
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-06-05 12:29:38 +02:00
Erik Jan de Wit
d1756564a7
remove use of deprecated table component (#29812)
* remove use of deprecated table component

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

* added transformer

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

* fix row click

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

* removed useless name label

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

* fix row click again

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

* removed more useless name label

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

* removed useless options

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

* removed useless options

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

* removed data-label

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

* fix for action click

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

* made indeterminate work again

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-06-04 11:01:01 +02:00
Thomas Darimont
35a4a17aa5
Add support for application/jwt media-type in token introspection (#29842)
Fixes #29841

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2024-06-03 19:06:21 +02:00
Erik Jan de Wit
56c955df20
reset selected after action (#30001)
fixes: #29981

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-06-03 17:53:34 +02:00
Erik Jan de Wit
0d2adbb75d
add dark theme switch (#29879)
* add dark theme switch

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

* matchMedia does not exists on cypress

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-06-03 17:53:07 +02:00
mposolda
9074696382 Editing built-in client policy profiles are silently reverted
closes #27184

Signed-off-by: mposolda <mposolda@gmail.com>
2024-06-03 14:00:37 +02:00
Pedro Igor
4c39fcc79d Allow to configure if users are automatically redirected when the email domain matches an organization
Closes #30050

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-06-03 13:34:21 +02:00
Erik Jan de Wit
1e4ccf24bc
proper fix for create user and re-enable tests (#29995)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-05-30 13:47:34 +02:00
Erik Jan de Wit
1135f4f05f
small fix that adds collapse icon based on count (#29996)
* small fix that adds collapse icon based on count

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-05-30 13:46:21 +02:00
Erik Jan de Wit
5949fd43d0
remove all use of deprecated Select and Dropdown (#29270)
* removed deprecated select

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

* some more deprecation removal

working towards fixing: #28197

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

* fixed tests

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

* changed to use new api

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

* more deprecation removal

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

* fixed merge error

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

* fix tests

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

* small fix

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

* fixed tests

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

* fixed merge error

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

* no more default text for SelectOption

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

* fixed tests

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

* fixed tests

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

* fixed test

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

* fixed test

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

* fixed tests

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

* fixed tests

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

* fixed test

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

* fixed tests

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

* fixed test

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

* fixed tests

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

* fixed tests

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

* fixed tests

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

* changed to use id

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

* fixed dropdown in keycloakCard and test fixes

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

* fixed lint error

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

* fixed test

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

* fixed tests

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

* fix dropdown/select related test failures

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

* fixed test

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

* fixed test

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

* i18n label

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

* fix test

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

* fixed tests

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

* fixed tests

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

* fixed test

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

* removed

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

* fixed merge error

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: mfrances <mfrances@redhat.com>
Co-authored-by: mfrances <mfrances@redhat.com>
2024-05-30 13:45:58 +02:00
Erik Jan de Wit
f088b0009c
initial ui for organizations (#29643)
* initial screen

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

* more screens

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

* added members tab

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

* added the backend

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

* added member add / invite models

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

* initial version of the identity provider section

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

* add link and unlink providers

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

* small fix

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

* PR comments

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

* Do not validate broker domain when the domain is an empty string

Closes #29759

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

* added filter and value

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

* added test

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

* added first name last name

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

* refresh menu when realm organization is changed

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

* changed to record

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

* changed to form data

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

* fixed lint error

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

* Changing name of invitation parameters

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

* Chancing name of parameters on the client

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

* Enable organization at the realm before running tests

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

* Domain help message

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

* Handling model validation errors when creating organizations

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

* Message key for organizationDetails

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

* Do not change kc.org attribute on group

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

* add realm into the context

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

* tests

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

* Changing button in invitation model to use Send instead of Save

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

* Better message when validating the organization domain

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

* Fixing compilation error after rebase

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

* fixed test

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

* removed wait as it no longer required and skip flacky test

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

* skip tests that are flaky

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

* stabilize user create test

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-05-29 14:34:02 +02:00
Pedro Igor
bbb83236f5 Do not lower-case the username from the IdP when creating the federated identity
Closes #28495

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-05-29 01:58:20 -03:00
Stan Silvert
5d1166b473
OAuth 2.0 Device Polling Interval - Realms settings/Token Tab +- to change value not working (#29767)
* OAuth 2.0 Device Polling Interval - Setting in Realms settings/Token Plus-Minus to change value not working
>
> The input was taking a String type variable. Fixed it by converting it to a number so that numeric calculations can be done on it. Also, applied a condition for Minus button so that the count is never less than zero since the default value is 0.
>
> Closes #29551

Signed-off-by: Ahana Mallik <ahanamallik@gmail.com>

* Satisfy linter.

Signed-off-by: Stan Silvert <ssilvert@redhat.com>

---------

Signed-off-by: Ahana Mallik <ahanamallik@gmail.com>
Signed-off-by: Stan Silvert <ssilvert@redhat.com>
Co-authored-by: Ahana Mallik <ahanamallik@gmail.com>
2024-05-23 10:11:24 +02:00
Thomas Darimont
ab376d9101 Make required actions configurable (#28400)
- Add tests for crud operations on configurable required actions
- Add support exposing the required action configuration via RequiredActionContext
- Make configSaveError message reusable in other contexts
- Introduced admin-ui specific endpoint for retrieving required actions with config metadata

Fixes #28400

Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-05-23 08:38:36 +02:00
Mark Franceschelli
bc82e7eb3c
Fix deprecated wizards (#29453)
* updated wizards

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

* fix broken tests

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

---------

Signed-off-by: mfrances <mfrances@redhat.com>
2024-05-22 14:18:28 +02:00
vramik
278341aff9 Add organizations enabled/disabled capability
Closes #28804

Signed-off-by: vramik <vramik@redhat.com>
2024-05-22 07:58:26 -03:00
Pedro Igor
b019cf6129 Support unmanaged attributes for service accounts and make sure they are only managed through the admin api
Closes #29362

Signed-off-by: Pedro Igor <pigor.craveiro@gmail.com>
2024-05-21 16:56:18 -03:00
秉虎
82ae047231
Update KeysListTab.tsx (#29337)
* Update KeysListTab.tsx

Signed-off-by: 秉虎 <s96016641@gmail.com>

* added missing singular key

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

---------

Signed-off-by: 秉虎 <s96016641@gmail.com>
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-05-21 13:56:57 +02:00
himanshi1099
95d883c76f
Enable user when removing temporary lock (#29618)
Closes #29336

Signed-off-by: Himanshi Gupta <higupta@redhat.com>
2024-05-21 11:21:24 +02:00
Erik Jan de Wit
1a4b6090d3
add value of unmanagedAttributePolicy to the form (#29645)
fixes: #29644

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-05-21 10:55:16 +02:00
Hynek Mlnarik
ef4a246aa9 Keep correct format of config fields
Fixes: #29314

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-05-15 17:17:07 +02:00
jhchong92
5cacf8637c
Add FormSubmitButton to handle form submission consistently (#28701)
Closes #28256

Signed-off-by: jchong <jhchong92@gmail.com>
2024-05-14 16:34:30 +02:00
Erik Jan de Wit
4b6d0fb651
fix smtp authenticate issue (#29508)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-05-14 16:05:58 +02:00
Stan Silvert
f14f4805d6
Fix access for IDP links tab. (#29428)
* Fix access for IDP links tab.

Signed-off-by: Stan Silvert <ssilvert@redhat.com>

* Fix tests.

Signed-off-by: Stan Silvert <ssilvert@redhat.com>

---------

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
2024-05-14 14:49:47 +02:00
Nicola Beghin
3d1c20b4a5
Add new ProviderConfigProperty type for URLs in Admin Console (#27743)
Closes #27673

Signed-off-by: Nicola Beghin <nicolabeghin@gmail.com>
2024-05-14 09:34:49 +00:00
agagancarczyk
b01e47feec
Added localization for User Profile attribute groups (#29374)
* resolved conflicts

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

* added localization feature to up attributes groups

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

* refactor

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

* fix linting

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

* fixed attribute groups test

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

* fixed another failing test

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

* reverted the test change

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-05-13 09:50:00 -04:00
James Hewitt
ee93561706
Change the default role mapping filter to clients (#29405)
Client roles are more common that realm roles, so we should start the
user off looking at a more useful set of options.

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2024-05-13 09:46:07 +02:00
Erik Jan de Wit
e28aa90fcb
use context for adminClient (#28693)
* use context for adminClient

Now we can reuse the components as we can use the adminClient from the context

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

* split environment into base, admin and account

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

* added type to useEnvironment

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-05-08 10:23:43 +02:00
James Hewitt
aa5c7c0310
Add a separator for listing required permissions (#29272)
Closes #29213

Signed-off-by: James Hewitt <james.hewitt@uk.ibm.com>
2024-05-07 16:34:06 -04:00
Mark Franceschelli
579197a254
Fix deprecated PF5 Tables (#29224)
* table dep fixed

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

* fix tests

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

---------

Signed-off-by: mfrances <mfrances@redhat.com>
2024-05-07 08:15:34 -04:00
Erik Jan de Wit
02cece07e5
use default also when it doesn't contain a "##" (#29308)
fixes: #29263

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-05-07 09:46:20 +02:00
Anil
2dcd05134e
Improve alternative step display in FlowDiagram (#28699) (#28700)
* Refactor FlowDiagram to explicitly link concurrent groupings

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Remove subflow nodes from FlowDiagram

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Remove disabled steps and subflows from FlowDiagram

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Change alternative steps to be serial w/ labels

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

---------

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>
2024-05-07 09:43:57 +02:00
Anil
6a38be6239
Fix incorrect branching for some authentication flow diagrams. Fixes #28479 (#28480)
* Refactor node creation in FlowDiagram

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Fix flow diagram incorrect branching display

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Enable react unit testing with vitest

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Add react tests for FlowDiagram

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

* Add cypress test for browser flow diagram

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>

---------

Signed-off-by: Anil Dhurjaty <anil.dhurjaty@appfolio.com>
2024-05-06 13:21:32 +02:00
Alexander Schwartz
a9532274e3
Generate translations for locales via built-in Java functionality (#29125)
Closes #29124

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Signed-off-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-05-06 09:30:14 +02:00
Mark Franceschelli
98a620e227
EventsSection icons with color props should be wrapped in Icon (#28826)
* icon fixes

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

* rm autogenerated space

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

---------

Signed-off-by: mfrances <mfrances@redhat.com>
2024-04-30 08:05:55 -04:00
Erik Jan de Wit
878be98122
added params to config giving users context (#28769)
fixes: #28616

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-30 08:05:29 -04:00
Erik Jan de Wit
9e10cec665
only render when ui when feature is enabled (#29101)
fixes: #29057

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-30 08:58:45 +02:00
Erik Jan de Wit
aeed5eee17
remove deprecated select (#29082)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-26 09:51:22 +02:00
Stefan Guilhen
8fa2890f68 28818 - Reintroduce search by name for subgroups
Closes #28818

Signed-off-by: Stefan Guilhen <sguilhen@redhat.com>
2024-04-25 12:06:07 -03:00
agagancarczyk
b8cdd81718
Replaced tooltip for adding a translations to an attribute with Info Alert (#29051)
* replaced tooltip with info alert

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

* replaced tooltip with info alert

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-04-24 19:50:11 +01:00
Erik Jan de Wit
f6a393252a
fix default value when stringyfy is on (#29042)
fixes: #28979

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-24 11:40:29 +02:00
Hynek Mlnarik
6065f7d624 Fix missing translation
Fixes: #28744

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-04-23 13:15:19 +02:00
Erik Jan de Wit
957859d846
Automatically re-authenticate on single-logout (#28723)
Automatically forces the user to re-authenticate from the Admin and Account consoles when a single-logout occurs.

Closes #23832
Closes #23833

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-04-22 11:45:15 +00:00
agagancarczyk
750ff41691
adll 3 scenarios (#28899)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-19 15:40:49 -04:00
Erik Jan de Wit
659f0f583f
changed name and added version number (#28157)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-19 14:10:34 -04:00
Thomas Darimont
68617180a2 Show indicator for transient user in user sessions list in admin ui (28879)
For transient users a transient label is now shown in the realm sessions and client sessions list in the admin ui.

Fixes #28879

Co-authored-by: Thomas Darimont <thomas.darimont@googlemail.com>
Co-authored-by: Hynek Mlnařík <hmlnarik@users.noreply.github.com>
Signed-off-by: Thomas Darimont <thomas.darimont@googlemail.com>
2024-04-19 09:48:41 +02:00
Erik Jan de Wit
2c069433f9
remove use of deprecated components (#28800)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-18 12:14:53 +02:00
Erik Jan de Wit
a8d1d6edd7
use filtered times instead of all (#28770)
fixes: #28748

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-17 09:04:41 +02:00
Erik Jan de Wit
38662c86a7
fixed style of clickable card (#28521)
* fixed style of clickable card

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

* fix aria

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

* use useId instead of passing it

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-16 15:48:58 +02:00
Erik Jan de Wit
426c13967d
use input instead of TextInput to make them truly hidden (#28618)
fixes: #28546

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-16 13:59:23 +02:00
Erik Jan de Wit
790d05817a
reload when id changes (#28773)
fixes: #28747

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-16 13:04:50 +02:00
Erik Jan de Wit
aa2ae61f22
added show inherited roles to empty state (#28793)
fixes: #28640

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-16 13:03:54 +02:00
Erik Jan de Wit
03c2629afc
use subGroupCount instead (#28719)
fixes: #28684

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-15 14:32:28 +02:00
jhchong92
dbd016d4ec
Encode realm name in URL when fetching from ui-ext (#28703)
Closes #28702

Signed-off-by: jchong <jhchong92@gmail.com>
2024-04-14 15:51:26 +00:00
Jon Koops
2ebf28ed63
Remove last violatations of no-unstable-nested-components (#28559)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-12 10:39:15 -03:00
rmartinc
6d74e6b289 Escape slashes in full group path representation but disabled by default
Closes #23900

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-04-12 10:53:39 +02:00
agagancarczyk
9e7a6b4eaf
fixed css styling (#28627)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-11 13:41:48 +01:00
agagancarczyk
adc8d388dc
fixed redirect on cancel (#28598)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-10 16:36:01 +01:00
agagancarczyk
ce8e925c1a
made roleName disabled instead of readOnly (#28590)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-10 10:20:49 -04:00
rmartinc
41b706bb6a Initial security profile SPI to integrate default client policies
Closes #27189

Signed-off-by: rmartinc <rmartinc@redhat.com>
2024-04-10 11:19:56 +02:00
agagancarczyk
38df8d5359
Fixed searchClientRegistration message text (#28556)
* fixed message text

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

* fixed message text

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

* fixed message text

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-04-09 15:05:22 +00:00
Jon Koops
d8a8b3f1be
Do not nest components in NewClientPolicy (#28549)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-09 14:58:26 +01:00
gregbaroni
8140c76147
Update flow diagram to support branching edges for conditionals (#28481)
- If there is a conditional subflow, instead of creating nodes
for the start and end of the subflow, there will now be branching edges
for the condition nodes, representing the false and true cases.
- Adds an optional label attribute to the edges to support having
true and false labels for condition node edges.
- Modifies auto layout to reduce the amount of overlap that
occurs with the branching condition edges and labels.
- Also removed the startSubFlow check in the createNode method
since the start and end subflow nodes are always created by the
renderSubFlowNodes method.

Closes #28453

Signed-off-by: Greg Baroni <greg.baroni@appfolio.com>
2024-04-09 14:37:10 +02:00
Erik Jan de Wit
1d8744e6c1
use subGroupCount to render subGroups (#28173)
* use subGroupCount to render subGroups

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

* PR review changes

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-08 14:29:52 +02:00
Erik Jan de Wit
582da41f4f
added unique message for key provider name (#28504)
fixes: #28486

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-08 14:22:42 +02:00
Jon Koops
d3c2475041
Upgrade admin and account console to PatternFly 5 (#28196)
Closes #21345
Closes #21344

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Mark Franceschelli <mfrances@redhat.com>
Co-authored-by: Hynek Mlnařík <hmlnarik@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-04-05 16:37:05 +02:00
Erik Jan de Wit
73e22b32c9
Truncate the clientId (#28406)
* Truncate the clientId

fixes: #28284

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

* fxed tests

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-05 13:56:30 +02:00
Jon Koops
3fda2c0444
Convert realms settings general tab to new form controls (#28464)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-05 10:55:25 +00:00
Jon Koops
7cbe609571
Filter dedicated client scopes when searching (#28433)
Closes #28431

Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-04 11:28:09 +00:00
Hynek Mlnařík
1fbdb62334
Fix navigation with realms with special chars (#28349)
Fixes: #16345

Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-04-04 09:50:33 +02:00
Jon Koops
82843d3e0a
Fix broken Cypress tests (#28414)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-04-03 18:16:03 +01:00
Erik Jan de Wit
952d484907
filter out parent group if it doesn't match (#28344)
fixes: #28079

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-03 10:56:08 +02:00
Erik Jan de Wit
c86620963d
fixed change calculation (#28342)
fixes: #28187

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-04-02 14:03:47 +02:00
kouki-miura
6af512e6ee
Fix the message for "goups" and add "groupsHelp" (#27964)
Closes #27962

Closes #27965

Signed-off-by: kouki-miura2 <koki_m@i.softbank.jp>
2024-03-26 08:20:49 -04:00
Jon Koops
ed7815401f
Do not nest components in UserCredentials (#27775)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-26 08:15:00 -04:00
Erik Jan de Wit
9038353629
only use the value on the server (#28169)
fixes: #26364

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-25 09:05:34 -04:00
Stan Silvert
7dfc263052
Add Token setting Lifetime of Request URI for PAR (#28155)
* Add Token setting Lifetime of Request URI for PAR

Signed-off-by: Stan Silvert <ssilvert@redhat.com>

* Fix test.

Signed-off-by: Stan Silvert <ssilvert@redhat.com>

---------

Signed-off-by: Stan Silvert <ssilvert@redhat.com>
2024-03-25 08:33:39 -04:00
Erik Jan de Wit
e9a1a6b982
use ui-shared (#27908)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-22 16:56:17 +01:00
Erik Jan de Wit
4fb2f73b2c
migrated to use ui-shared (#27849)
* migrated to use ui-shared

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

* fixed tests

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-03-22 14:07:25 +01:00
Erik Jan de Wit
b321c4b406
only start searching on enter and search button click (#28040)
fixes: #27917

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-22 12:06:43 +01:00
Erik Jan de Wit
3ad233b890
changed to use ui-shared (#27983)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-22 12:06:02 +01:00
Erik Jan de Wit
2d73c86306
changed to use ui-shared (#27996)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-22 11:47:06 +01:00
Erik Jan de Wit
53d52ecf15
changed to use ui-shared (#27933)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-22 11:27:09 +01:00
Erik Jan de Wit
5a99c558dc
changed to use ui-shared (#27919)
* changed to use ui-shared

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

* doc: add keycloak cr truststores (#28015)

closes: #27892

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Signed-off-by: Steve Hawkins <shawkins@redhat.com>
Co-authored-by: Steven Hawkins <shawkins@redhat.com>
2024-03-22 11:26:47 +01:00
agagancarczyk
1ca8d4f31a
User Profile translations - value put in correct field after search (#28047)
* fixed the issue of adding translation for searched locale

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

* fixed the issue of adding translation for searched locale

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

* small fix

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

* renamed

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

* fixed translation deleting on attribute deletion

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-03-21 16:54:02 +01:00
Martin Kanis
4154d27941 Invalidating offline token is not working from client sessions tab
Closes #27275

Signed-off-by: Martin Kanis <mkanis@redhat.com>
2024-03-21 09:04:58 -03:00
agagancarczyk
22aba84293
User Profile attribute translation saves correct key to realm overrides (#28053)
* fix

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

* refactor

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-20 12:46:51 +01:00
Erik Jan de Wit
4e7c2a5fa3
introduced password control (#27652)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-19 14:23:32 +01:00
agagancarczyk
e501cfcfb3
Changed clients/authorization to use ui-shared (#27826)
* migrated Switch and KeycloakTextInput to ui-shared

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

* migrated AuthorizationExport to use TextAreaControl

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

* migrated ImportDialog to use use-shared

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

* migrated PermissionDetails to use use-shared

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

* migrated ResourceDetails to use use-shared

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

* migrated ScopeDetails to use use-shared

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

* migrated PermissionDetails to ui-shared

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-19 14:22:10 +01:00
Erik Jan de Wit
60d4c15a79
changed to use ui-shared (#27848)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-14 13:42:15 +01:00
Erik Jan de Wit
63bd46b8cd
converted client select to ui-shared (#27799)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-14 13:41:36 +01:00
Jon Koops
7b755e02d3
Load server info before rendering rest of application (#27783)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-13 12:39:54 +00:00
Erik Jan de Wit
1b761b5b4c
Migrate more of the realm setting to new form controls (#27647)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-13 11:05:54 +00:00
Erik Jan de Wit
4a4e20c262
moved credentials to ui-shared (#27845)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-13 11:55:29 +01:00
Erik Jan de Wit
c0731ac502
migrated discovery field (#27762)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
Co-authored-by: Jon Koops <jonkoops@gmail.com>
2024-03-12 16:28:08 +01:00
Simon Hanna
401e1bd636
Fix return type of clients.findRole() in @keycloak/keycloak-admin-client (#27429)
Closes #27444

Signed-off-by: Simon Hanna <simon.hanna@aeb.com>
2024-03-12 15:01:54 +00:00
Erik Jan de Wit
f2cc4cbce0
convert to ui-shared (#27708)
* convert 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>

* added default value for variant

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

* remove class

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

* spread rest of the properties

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

---------

Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-12 11:50:34 +01:00
Erik Jan de Wit
d2a7e87967
changed to use ui-shared (#27776)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-12 11:32:16 +01:00
Erik Jan de Wit
131aeedb98
changed to use ui-shared (#27705)
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-11 15:48:49 +01:00
agagancarczyk
838d017d14
Migrated to ui-shared clients/advanced (#27764)
* migrated to uishared

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

* feedback

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

* fixed SwitchControl

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

* fixed tests

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

* fixed 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-03-11 14:01:15 +00:00
agagancarczyk
7695532011
replaced KeycloakTextInput with TextControl (#27711)
Signed-off-by: Agnieszka Gancarczyk <agancarc@redhat.com>
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2024-03-08 13:26:45 +01:00
agagancarczyk
84cf306833
Changed key provider form to use ui shared (#27704)
* replaced KeycloakTextInput with TextControl

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

* replaced KeycloakTextInput with TextControl and fixed helpText

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

* small test fix

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-08 11:26:49 +01:00
Jon Koops
0adc842ac7
Port role form to new form controls (#27626)
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-07 15:08:36 +01:00
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