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
Erik Jan de Wit
6ede747871
more waits to stabilize test ( #28092 )
...
Signed-off-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2024-03-20 14:29:11 +01:00
Hynek Mlnarik
5c59722176
Fix realm_settings_user_profile_enabled test instability
...
The instability is caused by pending alert which sometimes leaks
into user creation and causes the user to be created but its creation
not detected by the test due to another message. This causes test
being repeated and fail because the user already exists.
Fixes : #27653
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-03-20 08:30:03 +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
Hynek Mlnařík
84f295e909
Stabilize realm_settings_user_profile_enabled test ( #27982 )
...
Fixes : #27653
Signed-off-by: Hynek Mlnarik <hmlnarik@redhat.com>
2024-03-18 13:01:15 +01: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
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
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
Jon Koops
4ef38a783a
Fix broken tests for authenticators in Admin Console ( #27566 )
...
Closes #27565
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-05 16:29:40 +00:00
Jon Koops
7afd75ba08
Use browser router for Account Console ( #22192 )
...
Closes #27442
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-04 12:38:28 +00:00
Jon Koops
66e2591792
Fix flaky Cypress test for user profile ( #27427 )
...
Closes #27337
Signed-off-by: Jon Koops <jonkoops@gmail.com>
2024-03-01 15:30:55 +00: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
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
dependabot[bot]
23db74e639
Bump eslint-plugin-mocha from 10.2.0 to 10.3.0 in /js
...
Bumps [eslint-plugin-mocha](https://github.com/lo1tuma/eslint-plugin-mocha ) from 10.2.0 to 10.3.0.
- [Release notes](https://github.com/lo1tuma/eslint-plugin-mocha/releases )
- [Changelog](https://github.com/lo1tuma/eslint-plugin-mocha/blob/main/CHANGELOG.md )
- [Commits](https://github.com/lo1tuma/eslint-plugin-mocha/compare/10.2.0...10.3.0 )
---
updated-dependencies:
- dependency-name: eslint-plugin-mocha
dependency-type: direct:development
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-02-19 11:15:06 +01:00
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
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
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
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
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
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
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
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
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
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
Jon Koops
4932494a9c
Use new Root API to render Admin UI ( #21102 )
2023-07-25 18:56:44 +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
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
Hynek Mlnarik
b8149d66ca
Remove ldapsOnly (console and docs)
...
Closes : #9313
2023-06-28 08:30:09 +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
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
agagancarczyk
2ed1a9b72d
Add more a11y tests ( #19379 )
2023-03-30 10:44:36 +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