Table of Contents | ||
---|---|---|
|
Introduction
Keycloak is an open source identity and access management platform, and it provides support for standard protocols like OpenID Connect, OAuth 2.0, and SAML.
...
4. KeyCloak Configuration
Creating a client in Keycloak will enable the SSO from the keycloak application.
Open the Keycloak admin console -> Clients-> Create
...
- In your Keycloak Admin Console, go to myrealm, create a new client.
- For Client Type, select SAML.
For Client ID, paste in the Entity ID value you've copied earlier from the SAML Directory Manager plugin.
Click "Next".
For Valid Redirect URIs, paste in the base URL of your Joget instance.
For both - Save the client configuration.
- Next, we'll still need to modify more configurations for our newly created client.
Edit the client configuration.
Then, refer to this table below to ensure the remaining config values are correct."Settings" tab
General Settings Client ID (Paste in the Entity ID copied from the SAML Directory Manager plugin)
Example:
http://localhost:8080/jw/web/json/plugin/org.joget.plugin.saml.SamlDirectoryManager/service
Name --blank-- Description
--blank-- Always display in UI
Off Access Settings
Root URL
--blank-- Home URL
--blank-- Valid redirect URIs
(Base URL of your Joget instance)
Example: http://localhost:8080/jw
Valid post logout redirect URIs
--blank-- IDP-Initiated SSO URL name
(Paste in the ACS URL copied from the SAML Directory Manager plugin)
Example:
http://localhost:8080/jw/web/json/plugin/org.joget.plugin.saml.SamlDirectoryManager/service
IDP Initiated SSO Relay State
--blank-- Master SAML Processing URL
(Paste in the ACS URL copied from the SAML Directory Manager plugin)
Example:
http://localhost:8080/jw/web/json/plugin/org.joget.plugin.saml.SamlDirectoryManager/service
SAML Capabilities
Name ID format
username
Force name ID format
On
Force POST binding
Off
Force artifact binding
Off
Include AuthnStatement
On
Include OneTimeUse Condition
Off
Optimize REDIRECT signing key lookup
Off
Allow ECP flow
Off
Signature and Encryption
Sign documents
Off
Sign assertions
On
Signature algorithm
RSA_SHA256
SAML signature key name
CERT_SUBJECT
Canonicalization method
EXCLUSIVE
Login Settings
Login theme
--blank--
Consent required
Off
Display client on screen
Off
Consent screen text
--blank--
Logout Settings
Front channel logout
Off
Please use the following configurations:
Client ID: SAML JOGET API URL
Name: Optional
...