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

# OneLogin

## Overview

[OneLogin](https://www.onelogin.com/) provides a cloud-based identity and access management (IAM) solution that offers simple single sign-on (SSO), making it easier for companies to secure and manage access to web applications.

## Setup Labii SSO with OneLogin

To use OneLogin as your SAML IdP to connect with Labii:

1. Register an account with OneLogin.
2. Create an App at **Apps -> SCIM Provisioner with SAML (SCIM v2 Core).**
3. On the **Info** page, set the **Display Name** as **Labii**.
4. On the **Configuration** page:
   1. Copy the **Acs url** from Labii to **SAML Audience URL**, **SAML Consumer URL**.
   2. Copy **SCIM Base UR**L from Labii to **SCIM Base URL**
   3. Copy **SCIM Bearer Token** from Labii to **SCIM Bearer Token**
   4. Enable the **API Status**
5. On the **Parameters** page, add the parameters of `email, first_name, last_name, username` as following parameters.\
   Please check **Include in SAML assertion**

   \
   `email -> Email`\
   `first_name -> First Name`\
   `last_name -> Last Name`\
   `username -> Email`
6. On the **SSO** page, do the following copy and paste:
   1. Issue URL -> Metadata auto conf url
   2. SAML 2.0 Endpoint (HTTP) -> Idp login url
   3. SLO Endpoint (HTTP) -> Idp logout url
7. On the **Provisioning** page, check **Enable provisioning**
8. Go to the **Users** tab, Click **Applications**, and assign the user to the newly created App.


---

# 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 dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://docs.labii.com/admin-guide/single-sign-on/onelogin.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

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.
