SecureAuth Workforce Authority

AD FS plugin

This document contains the information required to install and configure the Workforce Authority AD FS plugin.

Overview

Active Directory Federation Services (AD FS) is a Microsoft product that allows organizations to provide single sign-on (SSO) to their users by way of federation protocols such as SAML, OpenID Connect (OIDC), and WS-Federation. AD FS provides a flexible system for configuring relying parties, adding external authentication providers, and producing and consuming claims (statements describing authenticated users).

The Workforce Authority AD FS plugin allows an organization to add Workforce Authority authentication to an AD FS authentication flow. This can be a passwordless authentication factor such as a push notification to the Workforce Authority Mobile app or a prompt for a current time-based one-time passcode (TOTP). You can configure Workforce Authority authentication as either a primary authentication method or as an additional authentication method.

Prerequisites

The Workforce Authority AD FS plugin has the following minimum requirements:

  • Windows Server 2019 or higher.

  • Plugin version 2.7.4 or higher, for users to sign in by scanning a QR code.

  • Administrator privileges are needed for installation.

  • AD FS server role must be installed on the server before installing the Workforce Authority AD FS plugin.

  • Server must be able to initiate HTTPS calls to Workforce Authority.

    For customers using the Workforce Authority cloud service, this means that any existing firewall rules must allow outbound connections to mfa.acceptto.com.

  • Your organization must have an Workforce Authority tenant with an application configured for use as the AD FS plugin.

    The UID and Secret values of this application will be used to authenticate the plugin to Workforce Authority.

The resource usage of the Workforce Authority AD FS plugin is negligible compared to AD FS itself, so the recommended hardware requirements for AD FS should be sufficient for use of the plugin.

Add AD FS application in Workforce Authority

Add an application in Workforce Authority for AD FS.

  1. Log in to Workforce Authority with administrative privileges and go to Applications.

    Create new application

  2. Click Create New Application.

  3. In the New Application form, on the General tab, set the following configurations:

    Name Set the name of the application. This is the name to display for push notifications, in the Admin panel, Application portal, and audit logs. For example, ADFS.
    Type Set to OAuth/OIDC Application.
    Template Set to Plugins (e.g. Citrix plugin) [plugins].
    Out of Band Methods Select the allowed methods end users can choose to approve MFA requests. For example, Workforce Authority Mobile app (push notifications), SMS, or Security Key.
    Message for MFA Requests (Optional) Type a message displayed to end users when sending an MFA request via push notification, SMS, or email.

    General tab of a Plugins application with its Type and Out of Band Methods

  4. Select the OAuth/OIDC Configuration tab and copy the UID and Secret.

    You will need these values during installation of the AD FS plugin to connect with Workforce Authority.

    OAuth/OIDC Configuration tab of the application holding its UID and secret

  5. Save your changes.

Installation

To install the Workforce Authority AD FS plugin, you can use the normal install wizard or a silent install using the command-line suitable for automating deployments. For either method, you will need an Workforce Authority AD FS plugin installer executable provided by SecureAuth.

Normal install using the install wizard

Before you can install the AD FS plugin, you must install the AD FS server role on this system.

To install the Workforce Authority AD FS plugin:

  1. Run the provided installer executable and click Next.

    Welcome page of the AD FS plugin installer

  2. Set the following configurations and click Next.

    Installer page for the API and DBFP base URLs and the application credentials

    Workforce Authority API Base URL Base URL to be used for API calls when authenticating Workforce Authority users. For most customers, the default value of https://mfa.acceptto.com is correct. Customers with a dedicated or on-premises Workforce Authority instance will need to supply the proper base URL for that instance.
    Workforce Authority DBFP Base URL Base URL of the Workforce Authority Device and Browser Fingerprint (DBFP) service. For most customers, the default value of https://dbfp.acceptto.com is correct. Customers with a dedicated or on-premises Workforce Authority instance will need to supply the proper base URL for that instance.
    Application UID UID value of the application configured in the Workforce Authority dashboard to be used by the Workforce Authority AD FS plugin.
    Application Secret Secret value of the application configured in the Workforce Authority dashboard to be used by the Workforce Authority AD FS plugin.
  3. Click Install.

    Installer page ready to begin the AD FS plugin install

  4. After the installation completes, with the check box selected, click Finish to restart the server.

    Installer page reporting the install finished, with the restart check box

Silent install using the command line

To support automated deployments, you can install the Workforce Authority AD FS plugin from the command line using a silent installation method.

To use this method, you should invoke the provided installer executable with the /quiet option along with all other required configuration properties.

For example, if your installation executable is named ADFS-v2.0.0.exe, you might perform a silent install using this command:

ADFS-v2.0.0.exe /quiet BASE_URL=https://mfa.acceptto.com DBFP_BASE_URL=https://dbfp.acceptto.com UID=<UID value> SECRET=<secret value> ARCULIX_USER_IDENTIFIER_ATTRIBUTE=userPrincipalName USE_GLOBAL_CATALOG=1
Note

The entire command must be written on the same line with no line breaks.

Full details of the configuration properties are available elsewhere in this document.

After performing a silent installation, restart the Workforce Authority AD FS service.

Install on an AD FS server farm

When using multiple servers in an AD FS server farm, individually install the Workforce Authority AD FS plugin on each server using exactly the same configuration settings.

First, install the plugin on the primary server, followed by all secondary servers. You can use either the installation wizard or the command-line installation method to perform the process.

After completing a command-line install, restart the AD FS service.

AD FS configuration

To configure AD FS, see the following procedures.

Set up Content Security Policy (CSP) headers

The Workforce Authority AD FS Plugin presents the user with an HTML page requiring the use of assets from the Workforce Authority Device and Browser Fingerprint (DBFP) service. To support this, the AD FS service should always send a Content-Security-Policy header enabling the use of this resource. Configure this by executing the following PowerShell command (all on one line):

Set-AdfsResponseHeaders -SetHeaderName "Content-Security-Policy" -SetHeaderValue "default-src 'self' 'unsafe-inline'; img-src 'self' data:; script-src 'self' 'unsafe-inline' 'unsafe-eval' https://dbfp.acceptto.com; script-src-elem 'unsafe-inline' https://dbfp.acceptto.com; connect-src "https://dbfp.acceptto.com;"

If you have a dedicated or an on-prem Workforce Authority instance, you will need to adjust the https://dbfp.acceptto.com references in the above line.

If you have AD FS servers that already have a Content-Security-Policy header configured for other purposes, you should create a combined policy which incorporates the above items.

Configure the plugin as an additional authentication method

A typical use of the plugin adds Workforce Authority authentication as an additional authentication method, above and beyond the primary authentication method.

To configure this:

  1. Launch the AD FS configuration tool.

  2. Navigate to Service > Authentication Methods.

    Authentication Methods page of the AD FS management console

  3. In the Additional Authentication Methods section, click Edit and then select Workforce Authority Authentication.

    Edit Authentication Methods dialog with Workforce Authority Authentication selected

  4. Click OK.

    You will see Workforce Authority Authentication listed as an additional authentication method on the next screen.

    Additional Authentication Methods section listing Workforce Authority Authentication

    When using Workforce Authority as an additional authentication method, you might need to configure your relying parties to have an Access Control Policy of Permit everyone and require MFA to introduce Workforce Authority to the authentication flow.

Configure the plugin as a primary authentication method

To support passwordless authentication using Workforce Authority, you can choose to use the Workforce Authority AD FS plugin as a primary authentication method.

To configure this:

  1. Launch the AD FS configuration tool.

  2. Navigate to Service > Authentication Methods.

    Authentication Methods page of the AD FS management console

  3. In the Primary Authentication Methods section, click Edit.

  4. On the Primary tab, select the Workforce Authority Authentication check boxes in the Extranet and Intranet sections.

    Primary tab with Workforce Authority Authentication selected for Extranet and Intranet

  5. Select the Allow additional authentication providers as primary check box.

  6. Click OK.

    You will see Workforce Authority Authentication listed as primary authentication methods.

    Primary Authentication Methods section listing Workforce Authority Authentication

Note

When using Workforce Authority as a primary authentication method, relying parties with an Access Control Policy of Permit everyone and require MFA might not be able to authenticate users if no additional methods are configured.

Plugin configuration

Some configuration settings guide the behavior of the plugin. During the normal wizard install, it collects the required settings from the administrator. But, adjustments to all settings can occur by editing the registry values or by supplying the settings in the command-line silent install.

All configuration settings are stored in the following registry key:

Computer\HKEY_LOCAL_MACHINE\SOFTWARE\SecureAuth\Arculix AD FS Plugin

Note

The names of registry entries are slightly different than the corresponding MSI public property names used for command-line installation, because of requirements imposed by the Windows Installer.

After changing any configuration settings in the registry, you should restart the AD FS service.

The available registry settings are:

Registry entry name MSI public property name Default value Description
BaseUrl BASE_URL https://mfa.acceptto.com Base URL used for API calls when authenticating Workforce Authority users. For most customers, the default value of https://mfa.acceptto.com is correct. Customers with a dedicated or on-prem Workforce Authority instance will need to supply the proper base URL for that instance.
DbfpBaseUrl DBFP_BASE_URL https://dbfp.acceptto.com Base URL of the Workforce Authority Device and Browser Fingerprint (DBFP) service. For most customers, the default value of https://dbfp.acceptto.com is correct. Customers with a dedicated or on-prem Workforce Authority instance will need to supply the proper base URL for that instance.
Uid UID No default value. UID value of the application configured in the Workforce Authority dashboard used by the Workforce Authority AD FS plugin.
Secret SECRET No default value. Secret value of the application configured in Workforce Authority Core used by the Workforce Authority AD FS plugin.
UseGlobalCatalog USE_GLOBAL_CATALOG 1 These are the following settings:
ArculixUserIdentifierAttribute ARCULIX_USER_IDENTIFIER_ATTRIBUTE userPrincipalName Active Directory user attribute which should be used to find a user’s Workforce Authority identifier. This should usually be an attribute containing a value in user@domain format, such as userPrincipalName or mail. However, if the ArculixUserIdentifierDomain setting is in use, it could be an attribute without domain information such as sAMAccountName.
ArculixUserIdentifierDomain ARCULIX_USER_IDENTIFIER_DOMAIN Empty If this setting contains a non-empty value, the user’s Workforce Authority identifier as loaded from the ArculixUserIdentifierAttribute will be suffixed with “@” and this value. If the value of the user’s ArculixUserIdentifierAttribute contains an “@”, this is considered an error and authentication will fail. This setting is useful for supplying a domain name when the ArculixUserIdentifierAttribute is an attribute that does not contain a domain name like sAMAccountName.

Logging

The Workforce Authority AD FS plugin will log activity to the Windows Application Event Log. Each log entry will be prefixed with the Workforce Authority AD FS Activity ID of the current authentication, if available.

For example:

Windows Application Event Log entry written by the AD FS plugin

Output claims

On each successful authentication, the Workforce Authority AD FS plugin will provide an output claim of type https://schemas.arculix.com/2022/11/authentication/claims/loa containing the Level of Assurance (LOA) score for this authentication. This claim may be consumed by other AD FS components, or passed to service providers, such as a SAML assertion.