Commit graph

60 commits

Author SHA1 Message Date
Alfredo Moises Boullosa
74e3b97d54 Fix realm_test in cypress (#26400)
Signed-off-by: Alfredo Moises Boullosa <aboullos@redhat.com>
2024-02-16 10:56:19 +01: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
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
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
Aboullos
ac6f16df70
Add actions for flaky Admin UI tests (#26778)
Signed-off-by: Alfredo Moises Boullosa <aboullos@redhat.com>
2024-02-05 16:37:16 +01: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
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
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
Aboullos
af4954acb6
Fix flaky client scopes test for Firefox (#26195)
Closes #26148

Signed-off-by: Alfredo Moises Boullosa <aboullos@redhat.com>
2024-01-16 17:16:12 +01: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
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
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
Jon Koops
5eb7363ddd
Promote Account Console v3 to default and deprecate v2 (#25852)
Closes #19663

Signed-off-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: Martin Bartoš <mabartos@redhat.com>
2024-01-11 19:42:10 +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
Aboullos
583d31bf3e
Add tests to Cypress (#25958)
Signed-off-by: Alfredo Moises Boullosa <aboullos@redhat.com>
2024-01-10 16:26:13 +01: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
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
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
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
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
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
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
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
Justin Tay
3ff0476cc3 Allow customization of aud claim with JWT Authentication
Closes #21445
2023-10-31 11:33:47 -07: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
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
Jon Koops
0844b57f64
Wait for request when testing session revocation (#24048) 2023-10-17 11:43:41 +02:00
Vojtěch Boček
8871983b33
Add support for single-tenant mode to Microsoft Identity Provider (#20699)
* Add support for single-tenant mode to Microsoft Identity Provider

Fixes #20695
Closes #11207

* Add SocialLoginTest for Microsoft single-tenant variant
2023-10-10 16:35:36 -04: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
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
f4c8ded5f6
Removed namespaces from messages (#23205) 2023-09-14 11:01:15 +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
Erik Jan de Wit
430af7a1e3
removed check as condition has pagination but it's disabled (#22826) 2023-08-31 09:21:48 +02:00
Ricardo Martin
a8bca522c1
Fix issue with access tokens claims not being imported using OIDC IDP Attribute Mappers (#21627)
Closes #9004


Co-authored-by: Armel Soro <armel@rm3l.org>
2023-08-02 09:36:50 +02:00
Jon Koops
4932494a9c
Use new Root API to render Admin UI (#21102) 2023-07-25 18:56:44 +02:00
Jon Koops
82f28f3bae
Fix intermittent failures of the users tests (#21924) 2023-07-25 13:32:01 +02:00
Andreas Blättlinger
cd732ae44f
Allow navigation to policy on permission screen (#21411)
Closes #20884
2023-07-17 13:45:50 +02:00
Jon Koops
153d1a9841
Upgrade Prettier to the latest version (#21601) 2023-07-11 14:03:21 +00:00
Daniele Martinoli
e2ac9487f7
Conditional login through identity provider (#20188)
Closes #20191


Co-authored-by: Jon Koops <jonkoops@gmail.com>
Co-authored-by: andymunro <48995441+andymunro@users.noreply.github.com>
Co-authored-by: Marek Posolda <mposolda@gmail.com>
2023-06-29 18:44:15 +02:00
agagancarczyk
a8bea49451
Fixed moderate and critical a11y issues for realm settings (#21267)
* Fixed moderate and critical a11y issues for realm settings

* improved with patternfly colour

---------

Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-06-29 12:59:52 +01:00
Erik Jan de Wit
a6c85439c9
fix identity test (#21312)
* fix identity test

* crazy that this fixes it
2023-06-29 12:11:59 +01:00
Jon Koops
c026884734
Use a different API method to move groups (#20820)
Closes #20615

Co-authored-by: daniel-brannon <daniel.brannon@ososlo.com>
2023-06-23 21:42:13 +02:00
Simeon Babev
7d3423ca5f
Run Cypress tests on Firefox for nightlies (#20592) 2023-06-20 08:21:49 -04:00
Erik Jan de Wit
0ca9b21765
added default values for user profile annotations (#20949)
* initial version of the "known" annotation picker

* fixed empty value

* add input type select when validator is options

* fixed test

* Update js/apps/admin-ui/public/locales/en/common.json

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

---------

Co-authored-by: Jon Koops <jonkoops@gmail.com>
2023-06-19 10:06:40 +02:00
Erik Jan de Wit
c771890da8
added test saml advanced tab (#20880) 2023-06-12 12:52:45 +02:00
Erik Jan de Wit
0a46930962
remove styles and use css modules (#20018) 2023-05-24 12:11:06 +00:00