> For the complete documentation index, see [llms.txt](https://docs.devolutions.net/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://docs.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/duo.md). Agents can also search and read this documentation through its [MCP server](https://docs.devolutions.net/~gitbook/mcp).

# Duo

Use Duo Security as the multifactor authentication method of Devolutions Server: Duo settings, enrollment, push, phone, SMS and passcode at sign-in.

The ***Duo*** multifactor authentication (MFA) method of Devolutions Server confirms sign-ins with Duo Security: a push to the Duo Mobile app, a phone call, an SMS passcode or a passcode from a Duo app or hardware token. Devolutions Server calls the Duo Auth API with the Duo user whose name matches the Devolutions Server user name.

## Prerequisites

* A Duo account with an application of the Auth API type. Its ***Integration key***, ***Secret key*** and ***API hostname*** are shown in the Duo Admin Panel.
* Users enrolled in Duo with the same user name as in Devolutions Server, or allowed to enroll themselves.
* Access from the Devolutions Server machine to the Duo API hostname over HTTPS.

## Configure Duo

1. Go to ***Administration*** – ***Server settings*** – ***Multi-factor*** and check ***Duo*** in ***Supported MFA***.
2. Click ***Configure*** next to ***Duo***. The ***Duo settings*** dialog opens.
3. Fill in the settings below.
4. Click ***Check*** to test them with Duo: "Success", or "Invalid Duo settings."
5. Click ***Save*** in the dialog, then ***Save*** on the ***Multi-factor*** page.

<table><thead><tr><th width="260">SETTING</th><th>DESCRIPTION</th></tr></thead><tbody><tr><td><strong>Integration key</strong></td><td>Integration key of the Duo Auth API application.</td></tr><tr><td><strong>Secret key</strong></td><td>Secret key of the Duo Auth API application.</td></tr><tr><td><strong>API hostname</strong></td><td>API hostname of your Duo account, such as <code>api-xxxxxxxx.duosecurity.com</code>.</td></tr><tr><td><strong>Force using HTTP public IP address validation</strong></td><td>Shown in the dialog, but Devolutions Server does not store this option: it has no effect. Devolutions Server always sends the public IP address of the sign-in request to Duo.</td></tr></tbody></table>

Changing these settings requires the ***Server settings*** – ***MFA*** – ***Edit*** administrative permission.

## Set up Duo (user)

The setup opens at sign-in when MFA is required, or from the ***Multi-factor*** section of your preferences.

* **Not enrolled in Duo.** The page shows "You’re not enrolled in Duo", a ***Set up your duo*** link that opens the Duo enrollment portal in a new tab, and "Once enrolled, go back". Enroll your device in Duo, then click ***Go back***.
* **No device.** "No device found. Please contact your administrator": the Duo user has no device. A Duo administrator adds one.
* **Enrolled.** Choose the ***Device*** when you have more than one, then confirm with ***Push***, ***SMS*** or ***Phone***, or type a passcode. Optional: choose ***Duo automatic multi-factor*** (***None***, ***Push***, ***Phone*** or ***SMS***) to send that request automatically when the device is selected at sign-in.

## Sign in with Duo

1. When the Duo user is allowed without a prompt by a Duo policy (for example a remembered device), the sign-in completes without a Duo step. When Duo denies the user, the sign-in is refused.
2. Otherwise, choose the ***Device*** ("Select a device") when you have more than one. "Choose an authentication mode" lists the capabilities of the device.
3. Click ***Push*** and approve the notification in Duo Mobile, click ***Phone*** and answer the call, or click ***SMS*** to receive a passcode. The buttons show ***Sending*** or ***Calling*** while Duo works.
4. For a passcode (SMS, Duo Mobile passcode or hardware token), type it in ***Validation code*** ("Enter your validation code here for SMS or mobile one-time password (duo app)") and click ***Submit***.

* A refused or wrong code shows "Invalid Duo code".
* Click ***Back to the login page*** to cancel.
* When Duo returns a remembered-device token, Devolutions Server keeps it with the user's Duo configuration, so Duo can skip later prompts according to its own policy.

In Devolutions Server 2027.1 and later, Duo can also be used to approve a privileged account checkout: see [MFA on PAM checkout](https://docs.devolutions.net/server/knowledge-base/how-to-articles/configure-mfa-for-pam-checkout-in-devolutions-server.md).


---

# 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.devolutions.net/server/web-interface/administration/configuration/server-settings/security/multifactor/duo.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.
