Skip to main content

Duo Auth Duo Auth

The Duo Auth API allows adding strong two-factor authentication to your website or application.

Creating a Duo Auth connection

Using Secret Key

To create the connection you need:

  • A Duo Auth Domain
  • An Integration Key
  • A Secret Key

Obtaining the credentials

  1. Log in to Duo's admin portal.

  2. Navigate to Application > Applications.

    duo_portal

  3. Click on + Protect an application.

    duo_protect

  4. Search for the Auth API application, and click on Protect.

    duo_protect_auth

  5. On the Auth application settings page, click on Edit Global Policy.

    duo_admin_permissions

  6. On the Authentication methods section, choose the capabilities you want to enable on devices for authentication, and hit Save Policy.

    auth_methods

    info

    To enable capabilities that involve the Duo Mobile App (Duo push, Verified Duo Push), you need to activate it. Follow the instructions on Duo's documentation to activate Duo Mobile.

  1. Scroll up and copy the connection details.

    auth_creds

Creating your connection

  1. In the Blink platform, navigate to the Connections page > Add connection. A New Connection dialog box opens displaying icons of external service providers available.
  2. Select the Duo Auth icon. A dialog box with name of the connection and connection methods appear.
  3. (Optional) Edit the name of the connection. At a later stage you cannot edit the name.
  4. Select Secret Key as the method to create the connection.
  5. Fill in the parameters:
    • The Duo Auth Domain
    • The Integration Key
    • The Secret Key
  6. (Optional) Click Test Connection to test it.
  7. Click Create connection. The new connection appears on the Connections page.