Commit Graph

6172 Commits

Author SHA1 Message Date
Pedro Igor
1afcccfbc7 Removing the default cache metadata
Closes #23910
2023-10-16 09:51:30 -03:00
Pedro Igor
90818fc53a Avoid creating the component when there is no component and configuration is not provided
Closes #20970

Co-authored-by: Pedro Igor <psilva@redhat.com>
2023-10-16 09:51:30 -03:00
Lex Cao
9421735865 Fix unexpected expiration when import offline client session
Closes #23397

(cherry picked from commit eedc4ceb18)
2023-10-13 17:30:56 +02:00
Jon Koops
1ff31e4b52 Resolve several usability issues around User Profile
Backports #23507, #23584, #23740, #23774, #22982

Co-authored-by: Pedro Igor <pigor.craveiro@gmail.com>
2023-10-13 08:40:59 -03:00
Pedro Igor
772a44fcab Do not store empty attributes when updating user profile
Backports #22960
2023-10-09 20:38:22 +02:00
Martin Kanis
2e13d23639 Concurrent code-to-token request is allowed to success only once (#28)
Closes keycloak/security#63

Co-authored-by: mposolda <mposolda@gmail.com>
2023-10-04 10:29:16 +02:00
Pedro Igor
1e4f284e31 Allow updating email when email as username is set and edit username disabed
#23438
2023-09-27 10:52:26 +02:00
Michal Hajas
af0322695f Disable CockroachDB model tests since they are flaky (#23416)
Closes #22645

Signed-off-by: Michal Hajas <mhajas@redhat.com>
(cherry picked from commit 533f9e7093)
2023-09-21 16:01:24 +00:00
rmartinc
59bf71d9e7 Align wildfly-core and wildfly version for tests
Closes https://github.com/keycloak/keycloak/issues/23342
2023-09-21 17:20:44 +02:00
Pedro Igor
ed805067e0 Registration page not showing username when edit username is not enabled
Closes #23185
2023-09-14 14:05:41 +02:00
kaustubh-rh
e347d788ce Unable to create user with long email address (#23132)
closes #22825 


Co-authored-by: mposolda <mposolda@gmail.com>
2023-09-13 11:31:51 +02:00
Pedro Igor
55b2eddb0c Ignore attributes when they are not prefixed with user.attributes prefix (#26)
* Ignore attributes when they are not prefixed with user.attributes prefix

Co-authored-by: mposolda <mposolda@gmail.com>
Co-authored-by: stianst <stianst@gmail.com>

* Update docs/documentation/release_notes/topics/22_0_3.adoc

* Update docs/documentation/release_notes/topics/22_0_3.adoc

---------

Co-authored-by: mposolda <mposolda@gmail.com>
Co-authored-by: stianst <stianst@gmail.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2023-09-12 19:09:55 +02:00
Pedro Igor
ed339de092 Broker claim mapper not recognizing claims from user info endpoint
Closes #12137
2023-09-11 08:20:32 +02:00
rmartinc
f52af8d63b Add old LinkedIn provider to the deprecated profile
Closes https://github.com/keycloak/keycloak/issues/23067
2023-09-08 14:36:24 +02:00
Marek Posolda
47b97b9404 Registration flow fixed (#23064)
Closes #21514

Co-authored-by: Vilmos Nagy <vilmos.nagy@outlook.com>
Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Marek Posolda <mposolda@gmail.com>
(cherry picked from commit 506e2537ac)
2023-09-08 10:06:53 +02:00
Alexander Schwartz
2f2706a9b1 Remove MS SQL JDBC driver from the Keycloak product (#23060)
Closes #22983

(cherry picked from commit 2eb37dbe4f)
2023-09-08 08:17:29 +02:00
rmartinc
4f2115c642 Add a new identity provider for LinkedIn based on OIDC
Closes https://github.com/keycloak/keycloak/issues/22383
2023-09-07 15:49:24 +02:00
Peter Skopek
ef9726af81 SAML Adapter fix for EAP8 and WF29
Signed-off-by: Peter Skopek <pskopek@redhat.com>
(cherry picked from commit ef272f7668)
2023-09-07 15:22:42 +02:00
Pedro Igor
e88c0aa61d Decoupling legacy and dynamic user profiles and exposing metadata from admin api
Closes #22532

    Co-authored-by: Erik Jan de Wit <erikjan.dewit@gmail.com>
2023-09-07 11:27:53 +02:00
Michal Hajas
1825ddb206 Clean LDAP between test method executions
Closes #22602

Signed-off-by: Michal Hajas <mhajas@redhat.com>
2023-09-06 21:27:41 +02:00
vramik
2466e6204c Disable ZeroDowntimeTest
Closes #21823

(cherry picked from commit 13d412989c)
2023-09-06 13:36:26 +02:00
Pedro Igor
578af7df01 Add Java Distribution IT for Windows (#21675)
Co-authored-by: Miquel Simon <msimonma@redhat.com>
2023-09-04 15:01:35 +02:00
mposolda
aec6e2655c Use an original domain name of Kerberos Principal in UserModel attribute instead of configured value of Kerberos realm in User federation
closes #20045

(cherry picked from commit 57e51e9dd4)
2023-08-30 14:54:10 +02:00
Martin Bartoš
76e8b92553 Add a Maven profile to remove GELF support (#22797)
Closes #22515

Co-authored-by: Václav Muzikář <vmuzikar@redhat.com>
2023-08-29 18:51:31 +00:00
Marek Posolda
83000cb77f Fallback to next LDAP/Kerberos provider when not able to find authenticated Kerberos principal (#22788)
closes #22352 #9422

(cherry picked from commit 6f989fc132)
2023-08-29 14:42:08 +00:00
Pedro Igor
83e854785b Parsing response from user info rather than the access token
Closes #22581
2023-08-29 14:52:32 +02:00
Martin Bartoš
aae4569071 Remove Oracle Database JDBC driver from the Keycloak distribution (#22598)
* Remove Oracle Database JDBC driver from the Keycloak distribution

Extended version for completion of requirements for 22.x release

Closes #22452

Co-authored-by: Martin Bartoš <mabartos@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>

* Use ifeval instead of ifdef

---------

Co-authored-by: Alexander Schwartz <aschwart@redhat.com>
Co-authored-by: Stian Thorgersen <stian@redhat.com>
2023-08-25 10:55:14 +02:00
Pedro Igor
adec6c5f01 Fixing how e-mail attribute permissions are set for both USER_API and ACCOUNT contexts
Closes #21751
2023-08-11 17:02:49 +02:00
mposolda
29d5fc6c49 Fix authenticatorConfig for javascript providers
Closes #20005

(cherry picked from commit 6f6b5e8e84)
2023-08-01 08:59:28 +02:00
Ricardo Martin
75305269d1 Add logout other sessions checkbox to TOTP, webauthn and recovery authn codes setup pages (#21897)
* Add logout other sessions checkbox to TOTP, webauthn, recovery authn codes setup pages and to update-email page
Closes #10232
2023-07-28 08:34:47 +02:00
Martin Bartoš
34c941d953 Profile activation for WF app server doesn't properly work for Windows
Fixes #21284
2023-07-27 18:42:39 +02:00
Marek Posolda
3bdf16bca5 Fix script tests on windows (#21942) (#21988)
Closes #21778 #21779 #21780

(cherry picked from commit bb8ba1af5a)
2023-07-27 06:31:52 +02:00
mposolda
6b83b3880f Keycloak forgets ui_locales parameter when using reset password
closes #10981

(cherry picked from commit 03716ed452)
2023-07-26 15:33:17 +02:00
Václav Muzikář
13893cbb96 Update bcpkix and bcprov dependencies (#21543) (#21845)
Closes #21360

(cherry picked from commit 776bcbcbd4)
2023-07-26 06:58:47 +02:00
Martin Kanis
f95091e210 Removing workaround for state transfer never completes
Closes #21256

(cherry picked from commit 6907134f17)
2023-07-24 14:24:35 +02:00
Lukas Hanusovsky
6076108ec0 [20455] Arquillian reflection bug -> using different setter to avoid overloading. (#21806) 2023-07-24 13:07:40 +02:00
Alexander Schwartz
4ddf78200c Upgrade Infinispan to 14.0.13.Final (#21861)
Closes #21564

(cherry picked from commit 7c9593f88a)
2023-07-24 11:28:24 +02:00
rmartinc
51a68c93a1 Check RDN attribute for DN membership
Closes https://github.com/keycloak/keycloak/issues/20718
2023-07-21 18:13:46 +02:00
rmartinc
7dea94b652 Ensure that the flow tested to be deleted is a built in flow
Closes https://github.com/keycloak/keycloak/issues/20763
2023-07-21 16:01:39 +02:00
Martin Kanis
9057e348bc Introduce delay in SessionTimeoutsTest to allow xsite replication to finish
Fixes #20983

(cherry picked from commit 67b20dfd9b)
2023-07-18 15:56:24 +02:00
Michal Hajas
6d28c31c93 Check whether realm has store enabled for immediately sent events
Closes #21698

Signed-off-by: Michal Hajas <mhajas@redhat.com>
(cherry picked from commit 07c27336aa)
2023-07-17 15:50:20 +02:00
rmartinc
87a50d3ba7 Revert emailVerified to false if email modified on force-sync non-trusted broker
Closes https://github.com/keycloak/security/issues/48
2023-07-17 13:14:45 +02:00
Martin Kanis
2bd7de6e8a UserSessionConcurrencyTest#testConcurrentNotesChange fails intermittently
Closes #21290
2023-07-11 13:12:38 +02:00
Pedro Igor
57423bca2b Additional test for logout when using multiple tabs (#21518)
Closes #21451
2023-07-11 11:22:20 +02:00
Pedro Igor
376d20c285 Remove user credentials from admin event representation (#21561)
Closes #17470
2023-07-11 08:26:29 +02:00
rmartinc
13870f3a69 Improve error management in the github provider
Closes https://github.com/keycloak/keycloak/issues/9429
2023-07-10 16:09:08 -03:00
Pedro Igor
94074f4a98 Remove unnecessary tests (#21551)
Closes #21099
2023-07-10 13:36:21 +00:00
Daniele Martinoli
75741d17ab Updated test case in RequiredActionResetPasswordTest 2023-07-10 08:31:47 -03:00
Patrick Jennings
399a23bd56 Find an appropriate key based on the given KID and JWA (#21160)
* keycloak-20847 Find an appropriate key based on the given KID and JWA. Prefers matching on both inputs but will match on partials if found. Or return the first key if a match is not found.

Mark Key as fallback if it is the singular client certificate to be used for signed JWT authentication.

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

Co-authored-by: Marek Posolda <mposolda@gmail.com>

* Updating boolean variable name based on suggestions by Marek.

* Adding integration test specifically for the JWT parameters for regression #20847.

---------

Co-authored-by: Marek Posolda <mposolda@gmail.com>
2023-07-10 13:28:55 +02:00
Daniele Martinoli
7b8dcb42ea Using "Account is disabled" message (and also added new test case) 2023-07-07 12:16:38 -03:00