> For the complete documentation index, see [llms.txt](https://docs.panther.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.panther.com/system-configuration/saml/duo-sso.md).

# Duo SSO

## Overview

Panther supports integrating with [Duo](https://duo.com/) as a SAML provider to enable logging in to the Panther Console via SSO.

For more information on features, terminology, and limitations of SSO integrations with the Panther Console, see [Identity & Access Integrations](/system-configuration/saml.md).

## How to configure SAML SSO to the Panther Console with Duo

### Step 1: Obtain the Duo SSO parameters from Panther

1. Log in to the Panther Console.
2. In the upper-right corner, click the gear icon to open Settings, then navigate to **Access & Authentication** > **Identity & Access**.
3. Next to **Enable SAML (Security Assertion Markup Language)**, set the toggle to `ON`.
4. If using [IdP-initiated login](https://docs.panther.com/system-configuration/saml/pages/-MXJ6kXOq1hLh6IY-4U0#idp-initiated-vs.-sp-initiated-login), set the **Use IdP-Initiated Single Sign On (SSO)** toggle to `ON`.
5. Copy the the **Audience** and **ACS Consumer URL** values and store them in a secure location. You will need them in the following steps.
   * If using IdP-initiated login, also copy the **Relay State** value.

{% hint style="info" %}
It's recommended to use [SP-initiated login](/system-configuration/saml.md#sp-initiated-login-recommended), as it is generally considered more secure than IdP-initiated login.
{% endhint %}

### Step 2: Create the Duo app

1. Log into the [Duo Admin Panel](https://admin.duosecurity.com/).
2. In the left-hand navigation bar, navigate to **Applications** → **Application Catalog**.
3. Search for **Generic SAML Service Provider**. Click **+Add**.

   <figure><img src="/files/mplzSOcLGgxPyycpbY2D" alt="Application Catalog in the Duo Admin Panel showing the &#x22;Generic SAML Service Provider&#x22; application" width="375"><figcaption></figcaption></figure>
4. In the **Service Provider** section, configure the following:
   * **Entity ID**: Paste the **Audience** value you obtained in the Panther Console in Step 1.
   * **Assertion Consumer Service (ACS) URL**: Paste the **ACS Consumer URL** value you obtained in the Panther Console in Step 1.
   * **Default Relay State:** If using IdP-initiated login, paste the **Relay State** value you copied from the Panther Console in Step 1. If using SP-initiated login, leave this value blank.

     <figure><img src="/files/ueZKMHuyg0AvmzW5hEck" alt="" width="563"><figcaption></figcaption></figure>
5. In the Duo Admin Panel, scroll to the bottom of the page, and click **Save**.

Keep this Duo Admin Panel browser window open, as you will need the **Metadata URL** value in the next steps.

### Step 3: Configure Duo SAML in Panther

1. Navigate back to the **Identity & Access** section in the Panther Console from Step 1. In the **Default Role** field, choose the Panther role that your new users will be assigned by default when they first log in via SSO.

{% hint style="warning" %}
Panther highly recommends not setting this value to `Admin`.
{% endhint %}

2. Return to the Duo Admin Panel. Copy the **Metadata URL** value and paste it into the **Identity Provider URL** field in the Panther Console.
3. Click **Save Changes**.

To test your setup, go to your Panther sign-in page and click **Login with SSO**.

<figure><img src="/files/9zegc6ls7XzjQrnAG5sb" alt="The Panther login page displays a &#x22;Login with SSO&#x22; button at the bottom."><figcaption></figcaption></figure>


---

# 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.panther.com/system-configuration/saml/duo-sso.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.
