This comparison focuses on Keycloak and Spring Security's OpenID Connect protocol support. Looking for their IAM features like MFA, SSO, and user management? Compare Keycloak vs Spring Security on IAM features.
Keycloak vs Spring Security
Compare Keycloak and Spring Security side by side across grant types, token endpoint authentication methods, extensions, endpoints, FAPI compliance, and protocol features.
Keycloak supports 40 of 44 tracked features, Spring Security supports 25.
Feature Comparison
Keycloak β Authorization Code: Supported Spring Security β Authorization Code: Supported Keycloak β Refresh Token: Supported Spring Security β Refresh Token: Supported Keycloak β Client Credentials: Supported Spring Security β Client Credentials: Supported Keycloak β Implicit: Supported Spring Security β Implicit: Not supported Keycloak β Token Exchange: Supported Spring Security β Token Exchange: Supported Keycloak β Client Initiated BackChannel Authentication: Supported Spring Security β Client Initiated BackChannel Authentication: Not supported Keycloak β Device Authorization Grant: Supported Spring Security β Device Authorization Grant: Supported Keycloak β JWT Bearer Token: Supported Spring Security β JWT Bearer Token: Not supported Keycloak β SAML 2.0 Bearer Assertion: Not supported Spring Security β SAML 2.0 Bearer Assertion: Not supported Keycloak β Resource Owner Password Credentials: Supported Spring Security β Resource Owner Password Credentials: Not supported
Keycloak β PKCE: Supported Spring Security β PKCE: Supported Keycloak β PAR: Supported Spring Security β PAR: Supported Keycloak β RAR: Not supported Spring Security β RAR: Not supported Keycloak β JAR: Supported Spring Security β JAR: Not supported
Keycloak β Authorization Endpoint: Supported Spring Security β Authorization Endpoint: Supported Keycloak β Token Endpoint: Supported Spring Security β Token Endpoint: Supported Keycloak β UserInfo Endpoint: Supported Spring Security β UserInfo Endpoint: Supported Keycloak β Token Revocation: Supported Spring Security β Token Revocation: Supported Keycloak β Token Introspection: Supported Spring Security β Token Introspection: Supported Keycloak β Device Authorization Endpoint: Supported Spring Security β Device Authorization Endpoint: Supported Keycloak β OpenID Connect Discovery Endpoint: Supported Spring Security β OpenID Connect Discovery Endpoint: Supported Keycloak β OAuth 2.0 Authorization Server Metadata Endpoint: Partially supported Spring Security β OAuth 2.0 Authorization Server Metadata Endpoint: Supported
Keycloak β none: Supported Spring Security β none: Supported Keycloak β client_secret_basic: Supported Spring Security β client_secret_basic: Supported Keycloak β client_secret_post: Supported Spring Security β client_secret_post: Supported Keycloak β client_secret_jwt: Supported Spring Security β client_secret_jwt: Supported Keycloak β private_key_jwt: Supported Spring Security β private_key_jwt: Supported Keycloak β tls_client_auth: Supported Spring Security β tls_client_auth: Supported
Keycloak β none: Supported Spring Security β none: Unknown support Keycloak β login: Supported Spring Security β login: Unknown support Keycloak β consent: Supported Spring Security β consent: Unknown support Keycloak β select_account: Supported Spring Security β select_account: Unknown support Keycloak β create: Not supported Spring Security β create: Unknown support
Keycloak β RP-initiated Logout: Supported Spring Security β RP-initiated Logout: Supported Keycloak β Dynamic Client Registration Protocol: Supported Spring Security β Dynamic Client Registration Protocol: Supported Keycloak β Dynamic Client Registration Management Protocol: Supported Spring Security β Dynamic Client Registration Management Protocol: Partially supported Keycloak β Refresh Token Rotation: Supported Spring Security β Refresh Token Rotation: Supported Keycloak β Refresh Token Rotation Grace Period: Supported Spring Security β Refresh Token Rotation Grace Period: Not supported Keycloak β OAuth 2.0 Demonstrating Proof of Possession (DPoP): Supported Spring Security β OAuth 2.0 Demonstrating Proof of Possession (DPoP): Supported
Keycloak β FAPI 1.0 Security Profile - Part 1: Baseline: Supported Spring Security β FAPI 1.0 Security Profile - Part 1: Baseline: Not supported Keycloak β FAPI 1.0 Security Profile - Part 2: Advanced: Supported Spring Security β FAPI 1.0 Security Profile - Part 2: Advanced: Not supported Keycloak β FAPI 2.0 Security Profile: Supported Spring Security β FAPI 2.0 Security Profile: Unknown support Keycloak β FAPI 2.0 Message Signing: Supported Spring Security β FAPI 2.0 Message Signing: Not supported Keycloak β JARM: Supported Spring Security β JARM: Not supported
Looking for a different comparison? See the full OpenID Connect Providers benchmark.
Looking for their IAM features like MFA, SSO, and user management? Compare Keycloak vs Spring Security on IAM features.
More Keycloak comparisons
Keycloak vs Ping IdentityKeycloak vs AuthleteKeycloak vs CurityKeycloak vs GluuKeycloak vs OktaKeycloak vs Auth0Keycloak vs Duende IdentityServerKeycloak vs ZitadelKeycloak vs OryKeycloak vs Better AuthKeycloak vs CasdoorKeycloak vs AutheliaKeycloak vs authentikKeycloak vs Microsoft Entra External IDKeycloak vs FusionAuthKeycloak vs Google Cloud IdentityKeycloak vs CyberArk IdentityKeycloak vs DescopeKeycloak vs Amazon CognitoKeycloak vs KindeKeycloak vs WorkOSKeycloak vs LogtoKeycloak vs AuthgearKeycloak vs DexKeycloak vs OneLoginKeycloak vs StytchKeycloak vs Supabase AuthKeycloak vs SAP CIAMKeycloak vs PropelAuthKeycloak vs ClerkKeycloak vs SuperTokensKeycloak vs MemorityKeycloak vs RauthyKeycloak vs FronteggKeycloak vs WSO2 Identity ServerKeycloak vs Purse IdentityKeycloak vs MojoAuthKeycloak vs ScalekitKeycloak vs SooauthKeycloak vs JumpCloudKeycloak vs SailPoint Identity Security CloudKeycloak vs SSOJetKeycloak vs EvidianKeycloak vs Apereo CASKeycloak vs Pocket IDKeycloak vs Gravitee Access ManagementKeycloak vs StrivacityKeycloak vs UbisecureKeycloak vs Firebase AuthenticationKeycloak vs AuthressKeycloak vs AuthsignalKeycloak vs Beyond IdentityKeycloak vs cidaasKeycloak vs CorbadoKeycloak vs HankoKeycloak vs IBM VerifyKeycloak vs IDnowKeycloak vs Ilex Sign&goKeycloak vs LoginRadiusKeycloak vs MagicKeycloak vs NevisKeycloak vs Oracle OCI IAMKeycloak vs SaviyntKeycloak vs Shibboleth Identity ProviderKeycloak vs Stack AuthKeycloak vs Thales SafeNet Trusted AccessKeycloak vs Transmit SecurityKeycloak vs TrustBuilderKeycloak vs WALLIX Sovereign Identity Access
More Spring Security comparisons
Spring Security vs Ping IdentitySpring Security vs AuthleteSpring Security vs CuritySpring Security vs GluuSpring Security vs OktaSpring Security vs Auth0Spring Security vs Duende IdentityServerSpring Security vs ZitadelSpring Security vs OrySpring Security vs Better AuthSpring Security vs CasdoorSpring Security vs AutheliaSpring Security vs authentikSpring Security vs Microsoft Entra External IDSpring Security vs FusionAuthSpring Security vs Google Cloud IdentitySpring Security vs CyberArk IdentitySpring Security vs DescopeSpring Security vs Amazon CognitoSpring Security vs KindeSpring Security vs WorkOSSpring Security vs LogtoSpring Security vs AuthgearSpring Security vs DexSpring Security vs OneLoginSpring Security vs StytchSpring Security vs Supabase AuthSpring Security vs SAP CIAMSpring Security vs PropelAuthSpring Security vs ClerkSpring Security vs SuperTokensSpring Security vs MemoritySpring Security vs RauthySpring Security vs FronteggSpring Security vs WSO2 Identity ServerSpring Security vs Purse IdentitySpring Security vs MojoAuthSpring Security vs ScalekitSpring Security vs SooauthSpring Security vs JumpCloudSpring Security vs SailPoint Identity Security CloudSpring Security vs SSOJetSpring Security vs EvidianSpring Security vs Apereo CASSpring Security vs Pocket IDSpring Security vs Gravitee Access ManagementSpring Security vs StrivacitySpring Security vs UbisecureSpring Security vs Firebase AuthenticationSpring Security vs AuthressSpring Security vs AuthsignalSpring Security vs Beyond IdentitySpring Security vs cidaasSpring Security vs CorbadoSpring Security vs HankoSpring Security vs IBM VerifySpring Security vs IDnowSpring Security vs Ilex Sign&goSpring Security vs LoginRadiusSpring Security vs MagicSpring Security vs NevisSpring Security vs Oracle OCI IAMSpring Security vs SaviyntSpring Security vs Shibboleth Identity ProviderSpring Security vs Stack AuthSpring Security vs Thales SafeNet Trusted AccessSpring Security vs Transmit SecuritySpring Security vs TrustBuilderSpring Security vs WALLIX Sovereign Identity Access
Note: The current data is based on provider documentation/experience and may not be 100% accurate.