SAML (SP-initiated) integration
Use this guide as a reference to configure a SAML (SP-initiated) application integration to enable multi-factor authentication (MFA) and single sign-on (SSO) in Workforce Authority.
Multi-Factor Authentication (MFA) is an extra layer of security used when logging into websites or apps. Individuals are authenticated through more than one required security and validation procedure that only they know or have access to.
Security Assertion Markup Language (SAML) is a protocol for authenticating to web applications. SAML allows federated apps and organizations to communicate and trust one another’s users.
This is a general SAML integration guide to help provide configuration details with SAML (SP-initiated) application integrations. For specific integrations, see Integrations, otherwise, you can use this guide for most other integrations.
Prerequisites
-
Configured Workforce Authority instance and user account with administrative privileges for Workforce Authority.
-
Configured Workforce Authority LDAP Agent.
For more information, see the Workforce Authority LDAP Agent deployment guide.
-
Application that supports SAML authentication
-
User account with administrative privileges to a service provider application
-
Access to service provider information about SAML configurations on their side as a service provider
Service provider configuration
In this section, you'll configure your application as a service provider (SP).
-
Download the SAML metadata and certificate for your organization from Workforce Authority.
Metadata download:
https://sso.acceptto.com/<myorganization>/saml/download/metadataView metadata:
https://sso.acceptto.com/<myorganization>/saml/metadataCertificate download:
https://sso.acceptto.com/<myorganization>/saml/download/cert -
Go to your service provider instance and configure the application to use Workforce Authority as SAML authentication.
You will need to have the Workforce Authority metadata on hand and access to the service provider instructions for the SAML configuration.
-
Save your changes in the configurations on the service provider side.
Workforce Authority SAML configuration as an Identity Provider (IdP)
In this section, you'll add an application and set the SAML configuration settings. This will be the Identity Provider (IdP) side of the configuration.
-
Log in to Workforce Authority with an administrative account and go to Applications.
-
Click Create New Application.

-
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, Acme. Type Set to SAML Application. Template Set to SAML Service Provider [saml_sp]. Out of Band Methods Select the allowed methods end users can choose to approve MFA requests. For example, push notifications to the authenticator app, 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. 
-
Select the SAML Service Provider Configuration tab, and set the following configurations:
Configure as needed, according to the service provider instructions for the application. You might find the applicable information in the service provider metadata to help fill out these fields.
For documentation purposes, all available fields for adding an application are described next.
Upstream IdP This check box is commonly used for integrations with another IdP to and use Workforce Authority as an IdP factor MFA. Issuer or Entity ID Enter the Issuer / Entity ID of your service provider application server or instance. Log in URL Enter the URL for the end user login to service provider application. Metadata URL If applicable, enter the metadata URL provided by the service provider. NameID Format By default, this is set to Email Address. This is the username format in which it asserts the user identity in the SAML application. The most common one is the Email Address. You can change this to different name ID format. Name Identifier By default, this is mail, the attribute that holds the user's email address. You can change it to another attribute.Application Logo Optional. Display the application logo in the SSO portal. The format for this field is the image address. ACS URL The Assertion Consumer Service (ACS) URL is the endpoint of the service provider (SP) where Workforce Authority sends the SAML assertion after successfully authenticating a user. Single Logout URL If applicable, enter the single logout URL for the service provider. When the user logs out, this ensures that it will logout the user from all other authenticated sessions associated with this service provider. Algorithm By default, this is set to RSA-SHA256, which is stronger than RSA-SHA1. Certificate If applicable, paste the certificate information from the service provider. Identity Provider EntityID Optional. This field allows you to customize the IdP Issuer / Entity ID for each application. 
-
If your service provider requires it, you can include Asserted Attributes like the following:
Friendly Name Name Value Name Format Optional. Human-readable form of the attribute's name, which might be useful in cases where the actual Name is complex or opaque. For example, First NameName that the application uses to reference this attribute. For example, FirstNameUser directory attribute used to get this value. For example, givenNameURI reference that represents the Name attribute format provided to your application. For example, unspecified
Examples of asserted attributes
-
Save your changes.
Value options
An asserted attribute usually sends one user attribute, named in the Value column. Value options, under each attribute, cover the other cases with no expression to write.
| Option | What it does |
|---|---|
| Fixed value | Sends the text you type to every user, in place of an attribute. For example, Faculty. |
| Fallback attributes | Up to 5 attribute names separated by commas. They are tried in order when the Value attribute is empty for the user. |
| Fallback value | Text sent when no attribute had a value, or when the Match kept none of the values. It is sent as written: the Match and the Output don't apply to it. |
| Match | A regular expression. Only the values it matches are sent. |
| Output | What each matching value is rewritten to. \1 stands for the first group of the match. Without it, a matching value is sent whole. |
Examples:
| To send | Value | Options |
|---|---|---|
| The employee ID, or the account name when there is none | employeeID |
Fallback attributes sAMAccountName |
| The phone number, or the front desk's | telephoneNumber |
Fallback value 5550100 |
| The name of each Active Directory group | memberOf |
Match CN=([^,]+), Output \1 |
Only the groups whose name contains app- |
memberOf |
Match ^CN=([^,]*app-[^,]*), Output \1 |
| Only the groups under the Security Groups unit | memberOf |
Match (?i)^CN=([^,]+).*?,OU=Security Groups(,.*)?$, Output \1 |
What to expect:
- Every option except Fixed value needs an attribute in the Value column. Saving one with an empty Value is refused.
- Workforce Authority works the options out when the user signs in. After you add or change an option, a user who is already signed in sends no value for that attribute until they sign in to Workforce Authority again. Make the change when few users are signed in.
- A Match is limited to 200 characters, and one that could take too long to run is refused, such as one with a backreference. Start it with
(?i)to ignore case. - A value that doesn't match is left out, and so is one whose Output comes out empty. Neither stops the sign-in.
- The options can't read
id,user_uuid,session_idormfa_approved, which exist only after the sign-in.
Send groups and roles
An asserted attribute can carry the user's groups and roles. Enter one of these in the Value column:
| Value | What the application receives |
|---|---|
groups |
The groups the user belongs to in your user directory, one value per group. Each value is the group's name unless the directory's group value format says otherwise. |
roles |
The user's Workforce Authority roles, one value per role. |
groups_overage |
true when the user belongs to more than 200 groups and the list was cut, false when the list is whole. No value when the directory couldn't be reached. |
groups used to send Workforce Authority role names. If your application relied on that, change its Value to roles.
What to expect:
- Workforce Authority reads the groups when the user signs in. A change in the directory reaches your application the next time the user signs in to Workforce Authority, not on each visit to the application. A remembered session can last a week.
- If the directory can't be reached or takes too long, the user still signs in. The assertion carries no group values and no
groups_overagevalue. - If no external directory knows the user, the assertion carries no group values, and
groups_overageisfalse. - With more than one external user directory, the groups from the directories that know the user are combined. A value two directories share is sent once.
- Workforce Authority roles are never mixed into
groupswhen an external directory is connected. With only the Workforce Authority directory,groupscarries the user's roles: their names, or their IDs when that directory's format is ID. - A directory that doesn't know the user adds nothing to the list. If
groupscomes back empty for every user, check that directory's connection settings.
For Active Directory:
- The list includes the user's primary group, usually Domain Users.
- Nested groups are included when Nested Group Searching is on in the directory settings.
- With Agent Cache on, a group lookup that fails falls back to the last answer the agent gave, which can be as old as the Agent Cache Duration. An agent that is only slow is different: the lookup is cut at the directory's timeout and no group values are sent.
- The directory's timeout covers the whole lookup. With more than one external directory, they share it.
Choose what each group value holds
Each directory sets the format of its own group values. Open the directory in User Directories, expand Basic Configuration and choose a Group Value Format:
| Format | Each value is |
|---|---|
| Name | The group's name. This is the default. |
| ID | The group's identifier in the directory. In Active Directory that is the value of the Group Identifier Attribute. In Microsoft Entra ID, Google Workspace and an identity pool it is the group's ID, and in the Workforce Authority directory it is the role's ID. |
| Distinguished name (DN) | The group's full distinguished name, such as CN=Sales,OU=Groups,DC=example,DC=com. Only Active Directory offers it. |
A change reaches every application that reads groups from that directory. SAML applications get the new values at the user's next sign-in to Workforce Authority. OpenID Connect applications get them the next time they fetch the user's claims, which can be before the user signs in again.
A Match rule or an expression written for names may stop matching IDs or distinguished names. Check them when you change the format.
With more than one directory, each sends values in its own format.
groups carries at most 200 groups. Never grant or deny access from a list that was cut. Assert groups_overage beside it, and have your application treat true, or a missing value, as "the list is incomplete".
Replace an expression that reads memberOf
Some applications assert groups through an expression in the Value column that reads memberOf and extracts each group's name. You can replace it in two ways.
To keep sending exactly the same values, set Value to memberOf and use Match and Output from the value options.
To send the directory's own answer, set Value to groups. Three things differ from the expression:
- The primary group now appears.
memberOfnever contained it, so most users gain one value. - The list stops at 200 groups. An expression had no limit.
- With Nested Group Searching on, groups the user belongs to through another group now appear.
memberOflisted only the groups the user belongs to directly.
A plain memberOf value keeps sending each group's distinguished name. groups sends whatever the directory's group value format sets: names by default, or IDs. To keep sending distinguished names, set the format to Distinguished name (DN). groups then sends them too, with the three differences above.
An expression that reads groups receives a list, which is empty when the directory can't be reached. One that reads groups_overage receives nil in that case.
A session that started before any of your applications read groups has neither value, and an expression that reads one fails until the user signs in to Workforce Authority again. Guard the expression with user.respond_to?(:groups) if users may be signed in when you add it.
Test your application integration
We recommend that you configure a separate URL in addition to the usual authentication URL, to test SAML while leaving the local authentication option available.
-
Test your application integration.
-
You will be redirected to the Workforce Authority SSO page.

-
After successful authentication, select your preferred MFA method to approve access to the application.

-
You will be redirected and logged in to the application.
Support
If you have questions or need assistance, contact SecureAuth Support.
Sales
Want to learn more about our MFA solutions? Contact our Professional Services for a demo today.
Disclaimer
All product names, trademarks, and registered trademarks are the property of their respective owners.
All company, product, and service names used in this document are for identification purposes only. The use of these names, trademarks, and brands do not constitute an endorsement by the SecureAuth Corporation.