1. Home
  2. Integrations, API & SSO
  3. SSO
  4. Appbot SSO Configuration – Duo
  1. Home
  2. Integrations, API & SSO
  3. Appbot SSO Configuration – Duo

Appbot SSO Configuration – Duo

This guide is intended to supplement specific steps of the guide at https://duo.com/docs/dag-generic. Please follow all the steps in that guide, referencing this supplement at the specific steps indicated.

Create Your Cloud Application in Duo – Step 3

At Step 3 of the Create Your Cloud Application in Duo section, enter the following. Substitute “your_org” with the identifier provided.

Name Description
Service Provider Name Appbot
Entity ID https://app.appbot.co/sso/your_org/saml/metadata
Assertion Consumer Service https://app.appbot.co/sso/your_org/saml/consume
Single Logout URL Leave Empty
Service Provider Login URL https://app.appbot.co/sso/your_org/saml/sign_in
Default Relay State Leave Empty


Create Your Cloud Application in Duo – Step 4

At Step 4 of the Create Your Cloud Application in Duo, enter the following;

Name Description
NameID format urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress
NameID attribute We want this set to the “Mail Attribute” of your IdP source, refer to the SAML Attribute Table section below to determine what it is called.
Send attributes NameID
Signature Algorithm Leave as default
Sign response Leave as default
Sign assertion Leave as default
Map attributes For each of these mappings, enter the attribute from the SAML Attribute Table section below in the left column, and the specified string in the right column.

  1. Mail attribute -> “User.email”
  2. First name attribute -> “User.FirstName”
  3. Last name attribute -> “User.LastName”

For example, if you were using Active Directory, the mappings would be

  1. “mail” -> “User.email”
  2. “givenName” -> “User.FirstName”
  3. “sn” -> “User.LastName”
Create attributes Leave empty

SAML Attribute Table

Depending on the Duo Access Gateway authentication source you use, the exact attributes you need in particular situations is different. Use this table to look them up.

Attribute Active Directory OpenLDAP SAML IdP Google Azure
Mail attribute mail mail mail email mail
First name attribute givenName gn givenName given_name givenName
Last name attribute sn sn sn family_name surname

Configure Your Service Provider Section

When in this section, choose “Download XML Metadata”, and provide the file you have downloaded to us. 

Please take note that you should not send us the JSON configuration file created in step 4, but the XML metadata file created in the later section.