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
Aboullos
0c3e6d731c
Add authentication test to cypress ( #26337 ) ( #26563 )
...
Signed-off-by: Alfredo Moises Boullosa <aboullos@redhat.com>
2024-02-01 14:53:20 +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
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
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
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
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
Hynek Mlnařík
c2112b9edd
Do not switch to admin console too early ( #25952 )
...
Closes : #25951
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-01-05 16:26:02 +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
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
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
Jon Koops
9afa5f86ec
Fix broken assertion in Cypress tests ( #25389 )
...
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2023-12-07 20:39:07 +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
Erik Jan de Wit
135a5c9b0d
skipping the revocation tests ( #25195 )
...
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-12-01 09:39:39 +01: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
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
rmartinc
5fad76070a
Use LinkedIn instead of LinkedIn OpenID Connect for better UI experience
...
Closes https://github.com/keycloak/keycloak/issues/24659
Signed-off-by: rmartinc <rmartinc@redhat.com>
2023-11-16 18:22:16 +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
agagancarczyk
0076f357f9
added wait to make tests pass regularly ( #24576 )
...
Co-authored-by: Agnieszka Gancarczyk <agancarc@redhat.com>
2023-11-06 14:53:21 +00:00
Jon Koops
bd80f208fa
Remove leftover namespaces from translation keys ( #24486 )
2023-11-02 16:03:47 +00:00
Jon Koops
c91e0847b6
Fix Cypress tests for User Profile ( #24502 )
2023-11-02 15:39:35 +00: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
e9d8ecb07a
try and make, ( #23550 )
...
identity_providers_test.spec.ts > should revert and save options less flaky
2023-10-03 08:24:37 -04: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
Jon Koops
403d678e00
Refactor tests to use new LinkedIn provider ( #23133 )
...
Co-authored-by: stianst <stianst@gmail.com>
2023-09-11 11:49:48 +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
Stan Silvert
65d9099e86
Make base theme hidden for admin and account UIs. ( #22672 )
...
* Make base theme hidden for admin and account UIs.
* Fix test.
2023-08-24 15:49:05 -04: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
Erik Jan de Wit
e24d51edca
only use the names of the realms ( #21576 )
...
* only use the names of the realms
fixes : #21555
* fixed merge error
* fixed test
* removed braces from arrow function
2023-07-18 09:52:06 +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
Stijn Last
91e543f415
Improve error messages when testing LDAP connection ( #21013 )
...
Closes #15434
2023-07-01 19:45:49 +02: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
Hynek Mlnarik
b8149d66ca
Remove ldapsOnly (console and docs)
...
Closes : #9313
2023-06-28 08:30:09 +02: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
danielFesenmeyer
d543ba5b56
Consistent message resolving regarding language fallbacks for all themes
...
- the prio of messages is now as follows for all themes (RL = realm localization, T = Theme i18n files): RL <variant> > T <variant> > RL <region> > T <region> > RL <language> > T <language> > RL en > T en
- centralize the message resolving logic in helper methods in LocaleUtil and use it for all themes, add unit tests in LocaleUtilTest
- add basic integration tests to check whether realm localization can be used in all supported contexts:
- Account UI V2: org.keycloak.testsuite.ui.account2.InternationalizationTest
- Login theme: LoginPageTest
- Email theme: EmailTest
- deprecate the param useRealmDefaultLocaleFallback=true of endpoint /admin/realms/{realm}/localization/{locale}, because it does not resolve fallbacks as expected and is no longer used in admin-ui v2
- fix locale selection in DefaultLocaleSelectorProvider that a supported region (like "de-CH") will no longer selected instead of a supported language (like "de"), when just the language is requested, add corresponding unit tests
- improvements regarding message resolving in Admin UI V2:
- add cypress test i18n_test.spec.ts, which checks the fallback implementation
- log a warning instead of an error, when messages for some languages/namespaces cannot be loaded (the page will probably work with fallbacks in that case)
Closes #15845
2023-05-17 15:00:32 +02:00
Erik Jan de Wit
67f401b029
added default value back when not new ( #20235 )
...
fixes : #19852
2023-05-17 10:05:44 +02:00
Jon Koops
b6c8344fb5
Ensure user details form state remains in sync ( #19696 )
2023-04-13 15:55:50 +02:00
Gabriel Padilha Santos
7a5b6efe7f
Feature to filter Login Events by IP Address ( #19341 )
...
Closes #19289
2023-04-06 11:33:15 +00:00
Jon Koops
84e763b472
Fix problems with key value input and empty entries ( #19421 )
2023-04-04 10:09:31 +02:00
Jon Koops
3e77a007b6
Remove Cypress component tests ( #19441 )
2023-03-30 10:58:52 -04:00
agagancarczyk
2ed1a9b72d
Add more a11y tests ( #19379 )
2023-03-30 10:44:36 +02:00
Michal Hajas
e49dfe534e
Fix missing migration when reading TERMS_AND_CONDITIONS required action in legacy store
...
Closes #17277
2023-03-29 16:43:01 +02:00
Erik Jan de Wit
d29f3e4dfc
Change client description component to use utils ( #19165 )
2023-03-24 16:53:43 +01:00
agagancarczyk
e77c084135
Add cypress-axe
and checks for accessibility issues ( #19086 )
2023-03-22 17:14:53 +01:00
Jon Koops
b69e8f4a73
Add job for end-to-end tests of the Admin UI ( #17544 )
2023-03-20 08:38:10 -04:00
Jon Koops
ec8e24c550
Rework project structure so it matches the main repo
2023-03-07 11:55:19 +01:00