SAML 2 Configuration

Follow the below instructions to enable SAML2 configuration.

  1. To enable SAML2 Configuration, add the below config in the values file

a. Please make the global.installOpenLdap and global.ldap section to false.

b. Update global.auth.saml to false.

c. Update gate.config.saml to true.

d. Copy the below block of code to values.yaml.

spring:
 security:
  saml2:
    enabled: true
    registration-id: SSO
    relyingparty:
      registration:
        SSO:
          entity-id: ${entityId}
          acs:
           location: https://${locationurl}/saml/SSO
          assertingparty:
            metadata-uri: https://${metadatauri}/sso/saml/metadata
          decryption:
            credentials:
              - private-key-location: file:/opt/saml/certs/key.pem
                certificate-location: file:/opt/saml/certs/cert.pem
            singlesignon.sign-request: true
    user-attribute-mapping:
      email: email
      firstName: firstName
      lastName: lastName
      roles:
        attributeName: memberOf
        sortRoles: true
        forceLowercaseRoles: true
        rolesDelimiter: ","
    signatureDigest: SHA256
    userSource: gate

e. Update okta groups under global.saporgate config ( Specify the groups you want to see in isd)

  1. Create cert+key pair using the command given below:

Create a secret to store the key.pem and cert.pem by executing the command below:

  1. Add the below code to gate deployment volumes and volume mounts.

  1. Remove the below code from gate deployment volumes and volume mounts.

The SAML2 is configured successfully.

Last updated