---
title: OneLogin Configuration
slug: kronpam-reference-guide-legacy-ui-3-4-0/onelogin-configuration
description: Learn how to configure OneLogin and Kron PAM for SAML authentication with this comprehensive guide. Discover the step-by-step instructions for adding Kron PAM as an application in OneLogin, along with essential configurations for Kron PAM. Additionally, g
docTags: 
createdAt: 2022-12-23T08:43:03.000Z
---

First, you need to add Kron PAM to OneLogin as an application. To add Kron PAM as an application, perform the following configuration steps in OneLogin:

1. Go to th&#x65;**&#x20;Applications** section in OneLogin.
2. Click **Add App** and search for SAML Custom Connector (Advance).
3. Enter a display name (such as Kron PAM) and then click **Save**.&#x20;
4. Navigate to the **Configuration** tab of the created Kron PAM App.
5. Fill in the following parameters related to Kron PAM:

**Audience**: singleconnecthost/samlCheck
Ex: https\://10.20.30.40/login-ui/samlCheck
**Recipient**: URL: singleconnecthost/samlRecipient&#x20;
Ex: https\://10.20.30.40/login-ui/samlRecipient
**ACS (Consumer) URL Validator**: Set “.\*” regular expression
**ACS (Consumer) URL**: Same as Recipient&#x20;
Ex: https\://10.20.30.40/login-ui/samlRecipient
**Single Logout URL**: URL: singleconnecthost/samlLogout
Ex: https\://10.20.30.40/login-ui/samlLogout

:::hint{type="info"}
The Email (SAML NameID) should be the same as the Kron PAM username.
:::

- After saving the configurations above, go to the SSO tab of the added application to extract some information for filling the Kron PAM SAML configuration.

| **Parameter Name**           | **Example Value**                                                                                                                                                                                                                                                                                                                                |
| ---------------------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------ |
| **Issuer URL**               | [https://app.onelogin.com/saml/metadata/2e0421c6-f623-4f9f-XXXX-YYY](https://app.onelogin.com/saml/metadata/2e0421c6-f623-4f9f-XXXX-YYY)                                                                                                                                                                                                         |
| **SAML 2.0 Endpoint (HTTP)** | [https://single.onelogin.com/trust/saml2/http-post/sso/2e0421c6-f623-4f9f-XXXX-YYY](https://single.onelogin.com/trust/saml2/http-post/sso/2e0421c6-f623-4f9f-XXXX-YYY)                                                                                                                                                                           |
| **SLO Endpoint (HTTP)**      | [https://single.onelogin.com/trust/saml2/http-redirect/slo/1708XXX](https://single.onelogin.com/trust/saml2/http-redirect/slo/1708XXX)                                                                                                                                                                                                           |
| **X.509 Certificate**        | -----BEGIN CERTIFICATE-----&#xD;<br />MIIEMjCCAxqgAwIBAgIUG2HXQgRMpy/pUehFqTqzw0YaelAwDQYJKoZIhvcNAQEF&#xD;<br />BQAwYTEsMCoGA1UECgwjS3JvbiBUZWxla29tdW5pa2FzeW9uIEhpem1ldGxlcmkg&#xD;<br />QXMxFTATBgNVBAsMDE9uZUxvZ2luIElkUDEaMBgGA1UEAwwRT25lTG9naW4gQWNj&#xD;<br />hkQm6mlNsRnfCipDrtz1lqf2VKgc9g==&#xD;<br />-----END CERTIFICATE-----&#xD; |

After adding Kron PAM as an application in OneLogin, you need to set additional configurations in Kron PAM.

**Step 1**: Define the required parameters in Kron PAM.

1. Navigate to **Administration&#x20;**> **System Config. Man**.
2. Open the **SAML Config** tab.
3. Fill in the following parameters related to OneLogin:

| **Parameter Name**                | **Description**                                                                | **Example Value**                                                                                                                                                                                                                                                                                                                                     |
| --------------------------------- | ------------------------------------------------------------------------------ | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| **Enable SAML**                   | It must be enabled to use SAML authentication.                                 |                                                                                                                                                                                                                                                                                                                                                       |
| **SAML Entity ID**                | SAML Test Connector **Issuer UR**L from the OneLogin Portal.&#xD;              | [https://app.onelogin.com/saml/metadata/2e0421c6-f623-4f9f-XXXX-YYY](https://app.onelogin.com/saml/metadata/2e0421c6-f623-4f9f-XXXX-YYY)                                                                                                                                                                                                              |
| **SAML Logout URL**               | SAML Connector **SLO Endpoint (HTTP) URL** from the OneLogin Portal&#xD;       | [https://single.onelogin.com/trust/saml2/http-redirect/slo/1708XXX](https://single.onelogin.com/trust/saml2/http-redirect/slo/1708XXX)                                                                                                                                                                                                                |
| **SAML Remote URL**               | **Personal Portal URL**                                                        | **[https://single.onelogin.com/portal](https://single.onelogin.com/portal)**                                                                                                                                                                                                                                                                          |
| **SAML URL**                      | SAML Connector **SAML 2.0 Endpoint (HTTP) URL** from the OneLogin Portal&#xD;  | [https://single.onelogin.com/trust/saml2/http-post/sso/2e0421c6-f623-4f9f-XXXX-YYY](https://single.onelogin.com/trust/saml2/http-post/sso/2e0421c6-f623-4f9f-XXXX-YYY)                                                                                                                                                                                |
| **SAML X509 Cert. Key**           | SAML Connector **X.509 Certificate** from the OneLogin Portal.&#xD;            | \*-----BEGIN CERTIFICATE-----&#xD;<br />MIIEMjCCAxqgAwIBAgIUG2HXQgRMpy/pUehFqTqzw0YaelAwDQYJKoZIhvcNAQEF&#xD;<br />BQAwYTEsMCoGA1UECgwjS3JvbiBUZWxla29tdW5pa2FzeW9uIEhpem1ldGxlcmkg&#xD;<br />QXMxFTATBgNVBAsMDE9uZUxvZ2luIElkUDEaMBgGA1UEAwwRT25lTG9naW4gQWNj&#xD;<br />hkQm6mlNsRnfCipDrtz1lqf2VKgc9g==&#xD;<br />\*-----END CERTIFICATE-----<br /> |
| **Enable Service Provider Login** | This aims to enable the Service Provider initiator for Login Page.             |                                                                                                                                                                                                                                                                                                                                                       |
| **Service Provider Name**         | If the Service Provider is enabled, Provider Name must be filled as free text. | OneLogin                                                                                                                                                                                                                                                                                                                                              |
| **Icon File**                     | Service Provider Icon                                                          |                                                                                                                                                                                                                                                                                                                                                       |



![](https://api.archbee.com/api/optimize/g9cApVza9NIhSh0pjZYtA/C_3zSBVpebqVw7G1tHxUm_image.png "SAML Configurations")

**Step 2**: Ad&#x64;**&#x20;TomcatCorsFilter&#x20;**&#x74;o the Tomcat configuration file.
After setting the required configuration in Step 1, you need t&#x6F;**&#x20;TomcatCorsFilter** in the tomcat configuration:

-  Open the web.xml file under the following directory.
  /u01/netright-tomcat/conf
- Find TomcatCorsFilter part and add Onelogin URL, as shown below in bold.&#x20;


:::Iframe{code="<filter-name>TomcatCorsFilter</filter-name>&#xD;&#xA;<filter-class>org.apache.catalina.filters.CorsFilter</filter-class>&#xD;&#xA;<init-param>&#xD;&#xA;      <param-name>cors.allowed.origins</param-name>&#xD;&#xA;      <param-value>10.20.42.27,https://single.onelogin.com</param-value>&#xD;&#xA;</init-param>&#xD;&#xA;" iframeHeight="0"}

:::

