WatchGuard Account SSO Integration with Duo and AuthPoint

Deployment Overview

This document describes how to set up multi-factor authentication (MFA) for your WatchGuard accounts with Duo and AuthPoint.

WatchGuard Account Authentication Data Flow with Duo and AuthPoint

This diagram shows the data flow of an MFA transaction for the WatchGuard Portal.

Topology diagram

Before You Begin

Before you begin these procedures, make sure that:

Configure Duo

To start, you must download the metadata file from the Certificate Management page in the AuthPoint management UI and copy the WatchGuard Service Provider SAML Metadata URL from the WatchGuard Account SSO Configuration Wizard. After you have that, you can configure Duo.

  1. Log in to WatchGuard Cloud.
  2. From the navigation menu, select Configure > AuthPoint. If you have a Service Provider account, you must select an account from the Account Manager.
  3. Select Resources.
  4. Click Certificate.

  1. Next to the AuthPoint certificate you will associate with your resource, click and select Download Metadata and Download Certificate. We recommend that you select the certificate with the latest expiration date.

  1. Go to www.watchguard.com and log in to the WatchGuard Portal with your WatchGuard user account credentials.
  2. In the Support Center, select My WatchGuard > Manage Users.
    The manage users page opens.

Screenshot of WGID, picture1

  1. Click Configure SAML SSO.
  2. In the WatchGuard Service Provider SAML Metadata text box, copy the WatchGuard Service Provider SAML Metadata URL.

Screenshot of WGID, picture2

  1. In a web browser, go to the WatchGuard Service Provider SAML Metadata URL.
  2. From the WatchGuard Service Provider SAML Metadata file, copy the entityID, SingleLogoutService Location, and AssertionConsumerService Location values. You need this information when you configure Duo.
  3. Log in to the Duo Admin Panel and select Single Sign-On.

Screenshot of Duo, picture1

  1. Click Add SAML Identity Provider.

Screenshot of Duo, picture2

  1. From the 1. Configure the SAML Identity Provider section, copy the Entity ID and Assertion Consumer Service URL values. You need this information when you configure AuthPoint.
  2. Open the AuthPoint metadata file you downloaded and find the entityID, SingleLogoutService Location, and SingleSignOnService Location values.
  3. In the 3. Configure Duo Single Sign-On section, for the Display Name text box, type a name.
  4. In the Entity ID text box, type or paste the entityID value from the AuthPoint metadata file.
  5. In the Single Sign-On URL text box, type or paste the SingleSignOnService Location value from the AuthPoint metadata file.
  6. In the Single Logout URL text box, type or paste the SingleLogoutService Location value from the AuthPoint metadata file.
  7. Click Choose File and upload the AuthPoint certificate you downloaded.
  8. Keep other settings as the default values.

Screenshot of Duo, picture3

  1. Click Save.
  2. Click Applications.
  3. Select Protect an Application and find Generic SAML Service Provider in the application list.

Screenshot of Duo, picture4

  1. Click Protect.

Screenshot of Duo, picture5

  1. In the Metadata section, copy the Metadata URL value. Or you can click Download XML to download the metadata file. You need this information when you configure SSO for your WatchGuard Account.
  2. In the Service Provider section, for the Entity ID text box, type or paste the entityID value from the WatchGuard Service Provider SAML Metadata file.
  3. In the Assertion Consumer Service (ACS) URL text box, type or paste the AssertionConsumerService Location value from the WatchGuard Service Provider SAML Metadata file.
  4. (Optional ) In the Single Logout URL text box, type or paste the SingleLogoutService Location value from the WatchGuard Service Provider SAML Metadata file.

Screenshot of Duo, picture6

  1. Keep all other settings as the default values.
  2. Click Save.

Configure SSO for Your WatchGuard Account

  1. From the WatchGuard Account SSO Configuration Wizard page, in the Metadata URL text box, type or paste the metadata URL you copied in the previous section. If you download the Duo Generic SAML Service Provider metadata file, click Select a metadata file and upload the metadata file you downloaded.

Screenshot of WGID, picture3

  1. Click Next.
  2. In the IDP Name text box, type the IDP name. In our example, we name the IDP Duo-Test.
  3. Leave other settings as the default values.

Screenshot of WGID, picture4

  1. Click Next to proceed through the SAML Configuration, Contact Information, and Support Message pages.
    The SSO Reference URLs page opens.

    The SSO reference URLs provide you with the direct links to the SSO log in pages for each account.

  2. Click Save.
  3. To create a user in the WatchGuard Portal, see Create a New User Account. To log in with SSO, you must have a WatchGuard user account and an AuthPoint user account. Both user accounts must have the same email address.

When you configure SAML SSO for your WatchGuard account, users can either log in with SSO or with their local user account. We recommend users log in with SSO to so they do not have to re-authenticate after their initial login.

Configure AuthPoint

Before AuthPoint can receive authentication requests from WatchGuard, you must add a SAML resource in AuthPoint. You must also create an authentication policy for the WatchGuard SAML resource to determine which users can authenticate and log in.

Add a SAML Resource in AuthPoint

From the AuthPoint management UI:

  1. From the navigation menu, select Resources.
  2. From the Choose a Resource Type drop-down list, select SAML. Click Add Resource.

  1. On the SAML page, in the Name text box, type a name for this resource.
  2. From the Application Type drop-down list, select Others.
  3. In the Service Provider Entity ID text box, type or paste the entityID value you copied in the previous section.
  4. In the Assertion Consumer Service text box, type or paste the AssertionConsumerService Location value you copied in the previous section.
  5. From the User ID sent on redirection to service provider drop-down list, select Email.
  6. From the Signature Method drop-down list, select SHA-256.
  7. From the AuthPoint Certificate drop-down list, select the certificate to associate with your resource. This must be the same certificate that you downloaded the metadata for in the previous section.
  8. In the Custom Attributes section, click Add Attribute.
  9. In the Attribute Name text box, type Email.
  10. From the Get Value From drop-down list, select User email.
  11. Click Save.

Add a Group in AuthPoint

You must have at least one user group in AuthPoint. If you already have a group, you do not have to add another group.

To add a group to AuthPoint:

  1. From the navigation menu, select Groups.
  2. Click Add Group.
    The New Group page appears.

Screenshot that shows the Groups page.

  1. In the Name text box, type a descriptive name for the group.
  2. (Optional) In the Description text box, type a description of the group.

Screen shot of the New Group page.

  1. Click Save.
    Your group is listed on the Groups page.

Screenshot of the Save button on the New Group page.

Add an Authentication Policy to AuthPoint

Authentication policies specify which resources users can authenticate to.

You must have at least one authentication policy in AuthPoint that includes the WatchGuard resource. If you already have authentication policies, you do not have to create a new authentication policy. You can add this resource to your existing authentication policies.

Users that do not have an authentication policy for a specific resource cannot authenticate to log in to that resource.

To configure an authentication policy:

  1. From the navigation menu, select Authentication Policies.
  2. Click Add Policy.
  3. Type a name for this policy.
  4. From the Select the authentication options drop-down list, select Authentication options and select the Password check box.
  5. Select which groups this policy applies to. You can select more than one group. To configure this policy to apply to all groups, select All Groups.
  6. Select the resource that you created in the previous section. If you want this policy to apply to additional resources, select each resource this policy applies to. To configure this policy to apply to all resources, select All Resources.

Screenshot of AuthPoint, picture1

  1. (Optional) If you have configured policy objects such as a Network Location, select which policy objects apply to this policy. When you add a policy object to a policy, the policy only applies to user authentications that match the conditions of the policy objects. For example, if you add a Network Location to a policy, the policy only applies to user authentications that come from that Network Location. Users who only have a policy that includes a Network Location do not get access to the resource when they authenticate outside of that Network Location (because they do not have a policy that applies, not because authentication is denied).
  2. Click Save. Your policy is created and added to the end of the policy list.

When you create a new policy, we recommend that you review the order of your policies. AuthPoint always adds new policies to the end of the policy list.

Add Users to AuthPoint

Before you assign users to a group, you must add the users to AuthPoint. There are two ways to add AuthPoint user accounts:

  • Sync users from an external user database
  • Add local AuthPoint users

Each user must be a member of a group. You must add at least one group before you can add users to AuthPoint.

Test the Integration

To test Duo MFA with your WatchGuard Account, you can seleect any method (push, duo mobile passcode, or SMS passcode).

In this example, we show the push authentication method (users receive a push notification in the mobile app that they must approve to authenticate).

If you do not create a user in Duo, the user is automatically created in Duo when you log in to WatchGuard Portal with SSO.

  1. In a web browser, go to the WatchGuard Portal URL.
  2. Click Log in with SSO.
  3. In the IDP name text box, type the IDP name.
  4. Click Log In.
  5. Type your email address or AuthPoint user name. Click Next.
  6. In the Password text box, type your password.
  7. Click Finish.
  8. For the Duo authentication method, select Duo Push.
  9. Approve the authentication request that is sent to your mobile device.
    You are logged in to WatchGuard Portal.