Add OneLogin as a single sign-on provider


Prerequisites
  • Integrations > Single Sign-on > Provider permission assigned to any PureCloud user role or PureCloud admin role
  • Admin role in your organization’s OneLogin account
  • OneLogin Desktop SSO disabled
  • User email addresses are the same in both OneLogin and PureCloud

Add PureCloud as an application that organization members can access with the credentials to their OneLogin account.

Configure OneLogin

Create a SAML application

  1. Add the OneLogin app called SAML Test Connector (ldP).
  2. In the app page, click the Configuration tab. 
  3. Complete the following fields. Leave the remaining fields blank.

    In this field… Do this…
    ACS URL Validator Type ^https:\/\/login\.mypurecloud\.com\/saml
    ACS URL Type the URL for the region where your PureCloud organization is located:
    Americas: https://login.mypurecloud.com/saml
    Asia Pacific (Sydney): https://login.mypurecloud.com.au/saml
    Asia Pacific (Tokyo): https://login.mypurecloud.jp/saml
    EMEA: https://login.mypurecloud.ie/saml
  4. Click the Parameters tab.
  5. Click Add parameter.
  6. Complete the following fields. 
    In this field… Do this…
    Name Type OrganizationName.
    Flags Check Include in SAML assertion.
  7. Click Save.
  8. Click the newly-created OrganizationName parameter.
  9. In the Value field:
    1. From the list, select Macro.
    2. Type the short name of your PureCloud organization. If you do not know the short name of your organization, click Admin > Account Settings > Organization Settings in PureCloud. Complete the following fields. 
  10. Click Save.

Get the certificate for the PureCloud configuration

  1. Click the SSO tab.
  2. Under Certificate, click View Details.
  3. Copy the text between the “begin certificate” and “end certificate” tags and paste it into a text file. Save this file for PureCloud configuration. The certificate must contain only the Base64-encoded certificate bytes (without the PEM encoding).

Get the metadata for the PureCloud configuration

Note: PureCloud supports the http-redirect SAML URL only. The OneLogin SSO tab no longer shows this URL by default in the SAML 2.0 Endpoint (HTTP) field. (It now shows the http-post URL instead.) However, the http-redirect URL is still available in the SAML Metadata file.
  1. Click the SSO tab.
  2. Copy the following metadata that you need for the PureCloud configuration to a text file. 
    Metadata Do this…
    Issuer URL Copy the URL from the Issuer URL field.
    SAML 2.0 Endpoint (HTTP)
    1. Under More Actions, click SAML Metadata.
    2. Download and open the SAML Metadata file.
    3. Find the SingleSignOnService tag with Binding equal to “urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect”, for example:  <SingleSignOnService Binding="urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect" Location="your-organization/onelogin.com/trust/saml2/http-redirect/sso/123456>
    4. Copy the URL following “Location =”, for example:
      https://your-organization/onelogin.com/trust/saml2/http-redirect/sso/123456

Configure PureCloud

  1. In PureCloud, click Admin.
  2. Under Integrations, click Single Sign-on.
  3. Click the OneLogin tab.
  4. Enter the information gathered in the previous procedure:

    In this field… Do this…
    Certificate
    1. Click Browse.
    2. Select the certificate you saved to a text file and click Open.
    Issuer URI Type the URL from the Issuer URL field in OneLogin.
    Target URI Type the http-redirect URL from the SAML Metadata file.
  5. Click Save.