Gestion d'identité et SSO
Find a file
Roni Saha fccd46f7ba
Fix Federation Cache Policy details not shown when editing provider (#42222) (#45375)
When the SelectControl component was refactored to use ui-shared controls,
the comparison logic for cache policy values was not updated correctly.

The refactored SelectControl returns string values ('EVICT_WEEKLY', 'EVICT_DAILY', etc.)
when using string options, but the code was still comparing against arrays (['EVICT_WEEKLY']).

This caused the conditional rendering of cache policy detail fields (evictionDay,
evictionHour, evictionMinute, maxLifespan) to always fail when editing an existing
federation provider.

Changes:
- Changed direct string comparisons instead of array comparisons
- Updated defaultValue from array to string format
- Removed array indexing from field names (e.g., 'config.evictionDay[0]' to 'config.evictionDay')
- Removed unused isEqual import from lodash-es

Signed-off-by: Roni Saha <roni.cse@gmail.com>
2026-01-16 09:25:09 -05:00
.github Bump actions/upload-artifact from 5.0.0 to 6.0.0 (#45328) 2026-01-11 17:27:00 +01:00
.idea Add Intellij project icon 2023-09-18 12:39:16 +02:00
.mvn Update custom Maven build cache configuration for js directory 2024-12-10 10:07:02 +00:00
adapters Use MIME decoder instead of the default one to replace deprecated Base64 class 2026-01-09 16:38:09 +01:00
authz Support aggregated policies during partial evaluation 2026-01-15 15:20:52 +01:00
boms Add Spotless plugin with removeUnusedImports check enabled 2025-10-13 13:32:01 +02:00
common Use MIME decoder instead of the default one to replace deprecated Base64 class 2026-01-09 16:38:09 +01:00
core OID4VCI credentials have invalid subject id value (#45004) 2026-01-15 12:28:30 +01:00
crypto Removing SdJwtFacade 2025-11-27 14:19:27 +01:00
dependencies Add missing artifact descriptions to allow Maven Central Portal Publisher pass validation process. (#40822) 2025-08-12 16:50:17 +02:00
distribution Apply Spotless to docs, distribution, and operator (#44826) 2025-12-11 08:50:54 +01:00
docs Hide Remember Me session settings when Remember Me is disabled in realm settings edit page in UI 2026-01-15 16:46:50 +00:00
federation Use MIME decoder instead of the default one to replace deprecated Base64 class 2026-01-09 16:38:09 +01:00
integration User REST Admin API - count and search returns different amount of users 2026-01-16 07:29:42 -03:00
js Fix Federation Cache Policy details not shown when editing provider (#42222) (#45375) 2026-01-16 09:25:09 -05:00
misc Bump com.googlecode.owasp-java-html-sanitizer:owasp-java-html-sanitizer (#45201) 2026-01-07 09:02:27 +00:00
model Step provider factories cleanup 2026-01-15 15:32:45 -03:00
operator ISPN16: Upgrade to Infinispan 16.0.5 2026-01-13 17:26:43 +01:00
quarkus fix: moving event enum expected values to quarkus logic 2026-01-16 13:52:50 +01:00
rest [admin-api-v2] Every distinct Admin API should be versioned (#44527) 2026-01-14 12:05:33 +01:00
saml-core Use MIME decoder instead of the default one to replace deprecated Base64 class 2026-01-09 16:38:09 +01:00
saml-core-api Use MIME decoder instead of the default one to replace deprecated Base64 class 2026-01-09 16:38:09 +01:00
server-spi Allow hide organization brokers when the user does not map to any organization during login 2026-01-15 15:19:43 +01:00
server-spi-private Not able to find key for credential signature if client scope was saved from admin console 2026-01-16 08:51:51 +01:00
services User REST Admin API - count and search returns different amount of users 2026-01-16 07:29:42 -03:00
test-framework Allow re-using server when running tests with the new framework 2026-01-16 09:11:43 -03:00
tests Allow re-using server when running tests with the new framework 2026-01-16 09:11:43 -03:00
testsuite fix: removing references to shaded testcontainer classes 2026-01-16 13:52:50 +01:00
themes Translations update from Hosted Weblate (#45199) 2026-01-16 15:14:31 +01:00
util Remove log4j 1.x from util/embedded-ldap (#44806) 2025-12-10 16:02:55 +01:00
.editorconfig Proposed import order (#43432) 2025-11-14 09:34:49 +01:00
.gitattributes Use lf as line-ending for sh files 2022-07-19 08:57:57 +02:00
.gitignore [OID4VCI] Credential Offer must be created by Issuer not Holder (#44255) 2025-11-27 16:07:10 +01:00
.gitleaks.toml Updated .gitleaks.toml to ignore false positive in RedirectUtilsTest (#33346) 2024-09-27 14:32:36 +02:00
ADOPTERS.md Add Xata to ADOPTERS.md (#40802) 2025-06-30 19:32:32 +02:00
CONTRIBUTING.md Add Spotless plugin with removeUnusedImports check enabled 2025-10-13 13:32:01 +02:00
get-version.sh Use Maven wrapper instead of platform dependent Maven version (#29988) 2024-06-03 15:45:39 +02:00
GOVERNANCE.md Update governance model around changes in maintainership (#29292) 2024-05-22 08:24:10 +02:00
LICENSE.txt Added text version of ASL2 license 2019-11-08 12:43:10 +01:00
MAINTAINERS.md Add Steven Hawkins as a maintainer (#45144) 2026-01-05 16:32:14 +01:00
maven-settings.xml [KEYCLOAK-11764] Upgrade to Wildfly 19 2020-04-24 08:19:43 -03:00
mvnw Upgrade Maven and wrapper to latest version 2024-06-19 10:42:33 +02:00
mvnw.cmd Upgrade Maven and wrapper to latest version 2024-06-19 10:42:33 +02:00
pom.xml Update maven-javadoc-plugin version to 3.2.0 2026-01-15 15:11:33 +00:00
PR-CHECKLIST.md Introduce CODEOWNERS (#16637) 2023-01-30 13:05:45 +01:00
README.md Add CLOMonitor Badge to the README 2025-02-20 12:31:58 -03:00
SECURITY-INSIGHTS.yml Provide an OpenSSF security insights manifest file 2024-02-15 11:02:33 -03:00
set-version.sh Remove Keycloak JS from repository (#37057) 2025-02-12 16:31:21 +00:00

Keycloak

GitHub Release OpenSSF Best Practices CLOMonitor OpenSSF Scorecard Artifact Hub GitHub Repo stars GitHub commit activity Translation status

Open Source Identity and Access Management

Add authentication to applications and secure services with minimum effort. No need to deal with storing users or authenticating users.

Keycloak provides user federation, strong authentication, user management, fine-grained authorization, and more.

Help and Documentation

Reporting Security Vulnerabilities

If you have found a security vulnerability, please look at the instructions on how to properly report it.

Reporting an issue

If you believe you have discovered a defect in Keycloak, please open an issue. Please remember to provide a good summary, description as well as steps to reproduce the issue.

Getting started

To run Keycloak, download the distribution from our website. Unzip and run:

bin/kc.[sh|bat] start-dev

Alternatively, you can use the Docker image by running:

docker run quay.io/keycloak/keycloak start-dev

For more details refer to the Keycloak Documentation.

Building from Source

To build from source, refer to the building and working with the code base guide.

Testing

To run tests, refer to the running tests guide.

Writing Tests

To write tests, refer to the writing tests guide.

Contributing

Before contributing to Keycloak, please read our contributing guidelines. Participation in the Keycloak project is governed by the CNCF Code of Conduct.

Joining a community meeting is a great way to get involved and help shape the future of Keycloak.

Other Keycloak Projects

License