Agent Desktop / Console
...
User Login & Single Sign-On (S...
Integrating SAML SSO with Keycloak IdP for Your Application
5 min
overview this document provides comprehensive guidance on integrating saml single sign on (sso) with keycloak identity provider (idp) for your application since your system is already a saml client integrated with various idps like adfs and okta, no code or design changes are expected support saml authentication via keycloak idp leverage existing saml client capabilities without additional code changes 1\ keycloak configuration steps 1 1 install keycloak download keycloak from the official archive getting started zip follow installation instructions tailored for your environment server administration guide 1 2 create a saml client (sso application) in keycloak log into the keycloak admin console navigate to clients and click create set the client id as your application’s saml service provider identifier choose saml as the client protocol configure the assertion consumer service (acs) url to point to your application server’s saml endpoint configure other settings such as name id format , signature algorithm , and valid redirect uris according to your application’s requirements download the idp metadata xml from keycloak for use in your application server configuration 1 3 optional define user attributes map user attributes and roles to be sent in saml assertions as needed 2\ application server configuration steps use your application’s existing saml client configuration mechanism replace or add a new saml connection using the keycloak idp metadata update the following as per keycloak’s metadata entity id sso url x 509 certificate attribute mappings restart the application server to apply changes 3\ verification and testing initiate login flow through your application confirm users are redirected to keycloak for authentication verify the saml response and successful login into your application 4\ additional resources configure saml sso with okta https //oldsites ameyo net/view/engineering/configure saml sso via okta html https //oldsites ameyo net/view/engineering/configure saml sso via okta html configure saml sso with any idp https //oldsites ameyo net/view/engineering/configure saml sso via any idp html https //oldsites ameyo net/view/engineering/configure saml sso via any idp html keycloak official documentation – server admin https //www keycloak org/getting started/getting started zip https //www keycloak org/getting started/getting started zip https //www keycloak org/docs/latest/server admin/ https //www keycloak org/docs/latest/server admin/