EasySSO How to get the logs
Configuration of EasySSO with signed POST requests, using KeyCloak v19 as an IdP
EasySSO Side
- Set the IdP Metadata URL, and then click "load certificate"
- Click to generate certificate
- Set binding types to POST
- Set to sign and verify signatures
- Save the settings
- Open the metadata.xml and save to desktop
KeyCloak Side
KeyCloak Client Scope
- In KeyCloak Administration console, navigate to Client Scopes, click the "Create client scope" button
- Set the name to EASY_SSO and protocol to SAML
- Click save
- Select the mappers tab
- Configure a new mapper
- Select User Property
- Configure username user property
- Name: username
- Mapper Type: User Property
- Property: username
- Friendly Name: username
- SAML Attribute Name: urn:oid:0.9.2342.19200300.100.1.1
- Click Save
- Configure Email user property
- Name: email
- Mapper Type: User Property
- Property: email
- Friendly Name: email
- SAML Attribute Name: urn:oid:0.9.2342.19200300.100.1.3
- Click Save
- Configure first name user property
- Name: firstName
- Mapper Type: User Property
- Property: firstName
- Friendly Name: firstName
- SAML Attribute Name: urn:oid:2.5.4.42
- Click Save
- Configure last name user property
- Name: lastName
- Mapper Type: User Property
- Property: lastName
- Friendly Name: lastName
- SAML Attribute Name: urn:oid:2.5.4.4
- Click Save
- (Optional) Configure Groups group list property
- Name: groups
- Mapper Type: Group list
- Group attribute name: urn:oid:2.5.4.31
- Friendly Name: groups
- Full group path: off
- Click Save
- The final EASY_SSO Client scope should look something like this
KeyCloak Client
- In KeyCloak Administration console, navigate to clients, click the "Import client" button
- Click browse and upload the metadata.xml file exported from EasySSO earlier
- Ensure the Encrypt assertions is turned off, and that client signature required is turned on
- Save setting for the imported file
- In the client that has just been imported, open Client scopes
- Click to add the EASY_SSO client scope configured earlier
- On the client configuration general configuration page ensure the following settings
- Sign documents is enabled
- Sign assertions is enabled
Configuring Users
For users to successfully log in, they must also have permission to access the application. See EasySSO SAML JIT User Provisioning for more details.