Guides
ProductDeveloperPartnerPersonal

(Old) Configure Duo Security for SAML (14 Dec, 2022)

Duo Security for SAML configuration can be authenticated in one of following ways: by uploading the identity provider's (IdP) metadata file or by manually configuring with specific IdP fields.

Table of Contents


##Prerequisites

  • id.swg.umbrella.com must be sent to the Umbrella secure web gateway (SWG) and not sent directly to the internet
  • SAML metadata must have a signing key
  • Ensure that your IDP Endpoint (the URL used to communicate with your identity provider) bypasses the Umbrella proxy to avoid an authentication loop
  • Configure SAML with your identity provider (IdP) that supports SAML 2.0 POST profiles
  • Download your IdP's metadata file in XML format
  • Enable cookies for your browser
  • Enable SAML and HTTPS inspection on a Ruleset that includes the Network and Tunnel identities from which the user traffic arrives


##Configure Duo Access Gateway

  1. Log into the Duo admin portal and navigate to Applications > Protect an Application.
  2. Search for Generic Service Provider and select 2FA with SSO self-hosted.
  3. Set the Entity ID to saml.gateway.id.swg.umbrella.com and the Assertion Consumer Service to https://gateway.id.swg.umbrella.com/gw/auth/acs/response.
1824
  1. Click Save Configuration.
  2. Download the configuration JSON file.
  3. Install either Duo Access Gateway for Windows or Duo Access Gateway for LInux. For more information and the installation procedure, see Duo Access Gateway for Windows or Duo Access Gateway for Linux.
  4. Import the JSON file from Step 5 into Applications.
  5. Download the Duo Access Gateway metadata file in XML format.


##Configure Duo Security for SAML with Metadata Upload

  1. Navigate to Deployments > Configuration > SAML Configuration and click Add.
1267
  1. Select Duo Security and click Next.
987
  1. Select XML File Upload.
982
  1. Download the Umbrella metadata file and click Next.
    The Umbrella SP metadata includes the Service Provider Issuer ID, the assertion consumer endpoint URL information, and the SAML request signing certificate from Cisco Umbrella. This metadata is required when configuring Duo Security for Umbrella.
    Note: Your IdP must send the Cisco Umbrella User Principle Name in the NameID attribute in the SAML assertion. For more information on configuring your IdP, exporting your IdP metadata, obtaining your IdP details, or downloading your IdP signing certificate, refer to your vendor's documentation.
  2. Upload your IdP's metadata file in XML format and click Next.
979
  1. From the Re-Authenticate Users drop-down list, choose how often Umbrella re-authenticates users: Never, Daily, Weekly, or Monthly.
980
  1. Click Save. Your new configuration appears as SAML Web Proxy Configuration.


##Configure Duo Security Manually

  1. Navigate to Deployments > Configuration > SAML Configuration and click Add.
1267
  1. Select Duo Security and click Next.
987
  1. Select Manual Configuration.
980
  1. Download the Umbrella metadata file (SP metadata file) and click Next.
    The Umbrella SP metadata includes the Service Provider Issuer ID, the assertion consumer endpoint URL information, and the SAML request signing certificate from Cisco Umbrella. This metadata is required when configuring your IdP for Umbrella.
  2. Enter the appropriate information to configure Duo Security's provider metadata and click Next.
  • Entity ID—A globally unique name for an identity provider
  • Endpoint—The URL used to communicate with your identity provider.
  • Signing Keys—Your identity provider’s x.509 certificate used to sign the authentication request.
  • Signed Authentication Request (optional)—You can sign the authentication request for this IdP.
983
  1. From the Re-Authenticate Users drop-down list, choose how often Umbrella re-authenticates users: Never, Daily, Weekly, or Monthly.
980
  1. Click Save. Your new configuration appears as SAML Web Proxy Configuration.

Configure AD FS for SAML < Configure Duo Security for SAML > Configure PingID for SAML