> For the complete documentation index, see [llms.txt](https://docs.docontrol.io/docontrol-user-guide/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.docontrol.io/docontrol-user-guide/system-management/settings/single-sign-on-sso/onelogin-sso.md).

# OneLogin SSO

You can configure OneLogin as your single sign-on SAML provider for logging into DoControl.

{% hint style="success" %}
After you configure OneLogin as your generic SAML, you can use your OneLogin credentials to login via DoControl. Note that DoControl supports only service provider initiated SSO via DoControl's login page.
{% endhint %}

To integrate DoControl with OneLogin SSO, you need to:

1. [Create OneLogin connection](#create-onelogin-connection)
   * [Configure application details](#configure-application-details)
   * [Configure parameters](#configure-parameters)
   * [Enable SAML](#enable-saml)
2. [Add a generic SAML connection](#add-generic-saml-connection)

## Create OneLogin connection

1. Login to your OneLogin account, using admin permissions.

2. In your company tab, click **Administration** in the menu bar.<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FovIn3ZqVW1LX78nEN1xU%2FOneLogin1.png?alt=media&amp;token=3b93c44f-55f6-411f-b064-20b9486e74f1" alt=""><figcaption></figcaption></figure>

3. Select **Applications > Add app**.<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FEunv6gMBMiTUJbxFdcnE%2FOneLogin2.png?alt=media&amp;token=0b99702e-ad70-4600-8ec3-008e1e6d361e" alt=""><figcaption></figcaption></figure>

4. Search for **SAML Custom Connector (Advanced)** and click it.<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2F4aujeyePSYW9c9dpi51Y%2FOneLogin3.png?alt=media&amp;token=01db59c9-8e8d-4028-b642-15afff4c2bda" alt=""><figcaption></figcaption></figure>

5. Name the connector DoControl and click **Save**.<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FQelRZnTr9gJGOenre5i5%2FOneLogin4.png?alt=media&amp;token=7d184912-e2c7-466b-b6d2-2b8671f6a3aa" alt=""><figcaption></figcaption></figure>

6. Under **Portal > Tab**, select your company name.<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2F1kmTtCFykyRRjDlyAbx2%2FOneLogin5.png?alt=media&amp;token=affe880e-d574-4c10-9558-d0611222c2e8" alt=""><figcaption></figcaption></figure>

### Configure application details

1. In OneLogin, select **Configuration > Application details**.<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FC8WpUjPoaE6cze1s3Wy5%2FOneLogin6.png?alt=media&amp;token=705e8905-fb54-4700-9fdb-9f8dc9c55473" alt=""><figcaption></figcaption></figure>

2. Enter these values for application details:

<table><thead><tr><th width="280">Application detail</th><th>Value</th></tr></thead><tbody><tr><td>Audience (EntityID)</td><td>urn:amazon:cognito:sp:us-east-1_Tx9u9xQ4d</td></tr><tr><td>Recipient</td><td><a href="https://docontrol-main.auth.us-east-1.amazoncognito.com/saml2/idpresponse">https://docontrol-main.auth.us-east-1.amazoncognito.com/saml2/idpresponse</a></td></tr><tr><td>ACS (Consumer) URL</td><td><a href="https://docontrol-main.auth.us-east-1.amazoncognito.com/saml2/idpresponse">https://docontrol-main.auth.us-east-1.amazoncognito.com/saml2/idpresponse</a></td></tr><tr><td>Single Logout URL</td><td><a href="https://app.docontrol.io/logout">https://app.docontrol.io/logout</a></td></tr><tr><td>Login URL </td><td><a href="https://app.docontrol.io/login">https://app.docontrol.io/login</a></td></tr><tr><td>SAML not valid before</td><td>3</td></tr><tr><td>SAML not valid on or after</td><td>3</td></tr></tbody></table>

3. Keep the remaining fields with their default values and click **Save**.

### Configure parameters

1. In OneLogin, select **Parameters**.<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FpwsEVV6KIAlLHdEasfhM%2FOneLogin9.png?alt=media&amp;token=c5b8d597-bb4b-4d5f-b46b-0597d9f5146d" alt=""><figcaption></figcaption></figure>
2. For credentials, select **Configured by admin.**
3. Click the **Plus** <img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FBvA5pQ7YUJxf8hLTwGrD%2FOneLogin%20plus.png?alt=media&amp;token=4f141763-826c-4240-a809-deed97dcd41b" alt="" data-size="line">icon to add the following fields and values to the SAML custom connector:

* **Email address** - <http://schemas.xmlsoap.org/ws/2005/05/identity/claims/emailaddress>
* **Given name** - <http://schemas.xmlsoap.org/ws/2005/05/identity/claims/givenname>
* **Surname** - <http://schemas.xmlsoap.org/ws/2005/05/identity/claims/surname>\
  \
  Make sure that any SAML attribute configured in the SAML integration is also sent from OneLogin.

4. After adding each field, check **Include in SAML assertion** and click **Save.**<br>

   <div align="left"><figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FtrJTmCrH5wDeHmsYnvvD%2FOneLogin10.png?alt=media&amp;token=5d023216-7b67-4cb6-9be0-d21dca4e167b" alt=""><figcaption></figcaption></figure></div>

### Enable SAML&#x20;

1. In OneLogin, select **SSO > Enable SAML 2.0**.<br>

   <figure><img src="https://3236294211-files.gitbook.io/~/files/v0/b/gitbook-x-prod.appspot.com/o/spaces%2F-MesrnyDMZGYg1V-tOBo%2Fuploads%2FsNHqPXCGUj9ao2kAaJ6R%2FOneLogin11.png?alt=media&amp;token=98a586c5-e129-4b37-a5f1-ea473c88b909" alt=""><figcaption></figcaption></figure>
2. Copy the **Issuer URL** and paste it in a separate browser window. \
   A file will be downloaded to your computer; keep this file for the [next step](#add-generic-saml-connection).
3. On the side bar go to **Users** and make sure to assign and add the relevant people or groups to connect DoControl with your identity provider:
   * Make sure that all listed people and groups exist in DoControl as team members.&#x20;
   * Indicate that user names are case-sensitive.&#x20;

## Add generic SAML connection

SAML (Security Assertion Markup Language) 2.0 is an open standard that allows DoControl to connect to your organization's IdP, such as OneLogin.

SAML makes single sign-on (SSO) possible by authenticating a user once and then communicating that authentication to DoControl.

{% hint style="success" %}
To enable users to login to DoControl with their OneLogin credentials, follow the instructions to configure a [generic SAML](/docontrol-user-guide/system-management/settings/single-sign-on-sso/generic-saml.md).
{% endhint %}


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://docs.docontrol.io/docontrol-user-guide/system-management/settings/single-sign-on-sso/onelogin-sso.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
