Skip to Content

Configure duo single sign-on with SAML as Vinyl security provider

This article steps through how to configure Duo Single Sign-On with SAML as an SSO Security Provider in Vinyl. The Duo Single Sign-On configuration needs to be set up first, followed by configuring the Vinyl Security Provider information to connect to Duo Single Sign-On.

Duo single sign-on with SAML

Duo Single Sign-On offers a SAML-based service that provides companies with control over the authorization and authentication of hosted user accounts that can access web-based entities. Vinyl acts as the identify provider and, when configured along with Duo Single Sign-On, can be used to authenticate and authorize Users into a Vinyl app.

Before configuring Duo Single Sign-On for use with Vinyl, you will need to enable Duo Single Sign-On for your Duo account and configure an authentication source. See the Duo Single Sign-On for Generic SAML Service Providers article for guidance.

The Duo Single Sign-On service is based on the SAML v2.0 specifications.

Duo single sign-on configuration settings

To get started, configure Duo Single Sign-On for use with your Vinyl app:

  1. Log into the Duo Admin Panel
  2. Go to Applications
  3. Click Protect an Application and locate the Generic SAML Service Provider with protection type 2FA with SSO hosted by Duo (Single Sign-On) in the applications list
  4. Click Protect to start configuring the Generic SAML Service Provider
  5. On the Generic SAML Service Provider page you will need to reference some of the Metadata and Downloads values for the Vinyl configuration:


  6. Copy the Metadata URL and download the Certificate

  7. In the Service Provider section, enter the following information:


    • Metadata Discovery: None (manual input)
    • Entity ID: Corresponds with Sign In Provider URL. Example:{{ProviderName}}
    • ACS URL: The URL where your service provider receives SAML assertions. This will be the same value as your Entity ID.

Vinyl security provider

After the Duo Single Sign-On configuration is complete, you will configure Duo in Vinyl as a SAML Security Provider.


Duo Single Sign-On SAML Provider configuration example

Vinyl configuration specific to duo single sign-on

Follow the basic configuration for Vinyl as a SAML security provider. In addition, review and confirm the following settings which are specific to integration with Duo Single Sign-On:


  • Name: Duo Single Sign-On
  • Type: SAML
  • Enabled: True


  • Audience, Recipient, and Issuer: values must match the Entity ID value provided from Duo Single Sign-On. Example:


  • Metadata Endpoint: value must match the Metadata URL value provided from Duo Single Sign-On. Example:


  • SignatureRequirement: value set to AssertionAndResponse.


  • Configure Claims records to instruct how to handle the identity creation and group mapping. Example: Name ID is a Usage type, with emailAddress as the Identifier value. You may also configure Group as a Usage type, with groups as the Identifier.

Lastly you will need to upload the Certificate information downloaded from Duo Single Sign-On:

  1. Click + Certificate from the Certificates area on Provider settings
  2. Select Signature Validation for Usage
  3. Select X.509 Certificate for Type
  4. Select PEM for Format
  5. Enter the Duo Security Certificate information. Be sure to remove the start and end notation from the certificate.