Set Up Single Sign-on (SSO) Using OpenID Connect (OIDC) for Microsoft Active Directory Federation Services (ADFS)
ADFS can be installed on Windows server operating systems to enable single sign-on access to an organization's applications. To set up an SSO connection that lets users sign in to your Blackbaud solutions through an ADFS identity provider (IdP), use the OIDC protocol that enables third-party applications to verify end users. An organization admin or a user with admin rights must claim at least one of the organization's email domains, create an ADFS application, configure app claims, configure the OIDC connection, select the domains to use, test the connection, and then turn on SSO.
To prevent inadvertent lockouts, make sure to:
-
Complete the setup during a maintenance window for your organization's network.
-
Create a Blackbaud ID outside of your claimed domains with access to the Authentication settings page in Security.
Blackbaud doesn't support IdP-initiated connections. If you need to enable users to connect to Blackbaud solutions through an app in your IdP's portal, then after you turn on SSO, you must configure that app to use the redirect URL for your live connection.
Configure SSO
Before you set up a connection, claim at least one of your organization's email domains. The button to add a connection is unavailable until you claim a domain.
To set up your SSO connection using OIDC for ADFS, use the instructions in the following sections:
1. Create ADFS application
-
In a different browser tab, go to Server Manager in your ADFS account in Azure AD B2C.
-
Select Tools and then select AD FS Management
-
Right-click Application Groups and then select Add Application Group. The Add Application Group Wizard appears.
-
On the Welcome step:
-
In the Name field, enter a name for your ADFS application.
-
In the Templates box, select "Web browser accessing a web application" under Client-Server applications.
-
Select Next.
-
-
On the Native application step:
-
In the Client Identifier field, copy and save your application ID so that you can provide it as the client ID when you configure your OIDC connection.
-
In the Redirect URI field, enter "https://id.blackbaud.com/bbid.onmicrosoft.com/oauth2/authresp" and then select Add.
-
Select Next.
-
-
To complete the wizard, select Next on the remaining steps and then select Close.
2. Configure app claims
-
In Application Groups, select your ADFS application.
-
In the application properties, select the web application in the Applications box.
-
Select Edit.
-
On the Issue Transformation Rules tab, select Add Rule. The Add Transform Claim Rule Wizard appears.
-
On the Choose Rule Type step:
-
In the Claim rule template field, select "Send LDAP attributes as claims."
-
Select Next.
-
-
On the Configure Claim Rule step:
-
In the Claim rule name field, enter a name.
-
In the Attribute store field, select "Active Directory."
-
In the grid, enter mapping pairs in the LDAP Attribute and Outgoing Claim Type columns similar to the following list. The mapping pairs specify where you store the data that your IdP uses to identify your organization's users. The LDAP Attribute column must match the list, but the Outgoing Claim Type column may be different because it must match the values that you specify later when you configure your OIDC connection:
-
"User-Principal-Name" and "upn"
-
"Surname" and "family_name"
-
"Given-Name" and "given_name"
-
"E-Mail-Addresses" and "email"
Tip: You need to manually enter any values that don't appear in the dropdown for outgoing claim types.
-
-
Select Finish.
-
-
Select Apply and then OK.
-
Select OK again to complete the process.
3. Configure OIDC connection
-
Return to the Authentication settings page and select the add button under Single sign-on (SSO).
-
Select OIDC. The Configure OIDC connection screen appears.
-
On the Configure OIDC connection screen, configure the details for your OIDC connection under Enter your connection details.
-
In the Connection name field, enter a name to identify your organization's OIDC connection.
-
In the Metadata URL field, enter the URL for the OIDC metadata document that contains information that is required during sign-in, such as the URLs to use and the location of the service's public signing keys. The metadata document is always located at an endpoint that ends in ".well-known/openid-configuration."
-
In the Response Type field, accept the default "ID Token" response type that handles the generation of the client secret for SSO. This is the only available response type when you use ADFS.
-
In the Client ID field, enter the application ID that you saved when you created your ADFS application.
-
-
Under Confirm how your IdP identifies the following, specify where you store the data that your IdP uses to identify your organization's users. Enter field names or unique identifiers. These values must match the mapping values you entered in the Outgoing Claim Type column when you configured the app claims.
Warning: You can only pass mapping fields if they are included under "claims_supported" in the OIDC metadata document that you provided in the Metadata URL field. That document, which ends in ".well-known/openid-configuration," contains information that is required during sign-in, such as the fields where you store data that identifies your users.
-
In the NameID field, specify where you store the unique IDs that your IdP uses to identify your users. The field for this data varies depending on your IdP, but the values are typically not email addresses or employee IDs. Instead, the values should be unique IDs that your IdP creates to distinguish users across all accounts.
We recommend against using email addresses to identify users. If you identify users by email address and need to change a user's email address, then you must re-invite the user at the new email address, which means you lose all history associated with the original one.
-
In the Email address field, specify where you store user email addresses.
For successful connections, email addresses must be unique.
-
In the First name field, specify where you store first names.
-
In the Last name field, specify where you store last names.
-
-
For YourCause, you can add optional claims under Optional claims to personalize the user experience for your organization's users.
Warning: This option is only available for YourCause and isn't available for other Blackbaud solutions.
-
To add an optional claim, select Add optional claim.
-
In the Claim type field, select the type of data to map.
-
In the Source attribute field, enter where you store the data for your IdP.
-
Repeat these steps as necessary to add more optional claims.
-
-
If your organization has a solution that supports custom branding, you can configure more options under Configure additional options.
Custom branding is available for a limited number of solutions. To learn whether your solutions support custom branding, contact your Blackbaud representative.
-
To let users create Blackbaud IDs and sign in to YourCause without an email address, select Allow users to sign in without an email address. If your IdP doesn't require an email address when users sign in, select this option.
Warning: This option is only available for YourCause and isn't available for other Blackbaud solutions.
-
To send users directly to your IdP when they select your organization's option to open a Blackbaud solution, select Skip Blackbaud's sign-in page and redirect your users to your identity provider. This option isn't available when your organization has multiple SSO connections because Blackbaud IDs automatically route users to the correct connection based on their email domain.
Warning: We recommend against this option if you have users who can't sign in through the redirect. For example, don't select this option if you have users who are external to your organization, such as parents or students at a school, or if you have users who authenticate through social sign-in or Blackbaud's authentication service. If you select this option, those users can only sign in directly through the Blackbaud ID sign-in page.
-
-
Under Confirm the need to wait before testing, select the checkbox that acknowledges the delay before you can test your SSO connection.
-
If you are setting up a new SSO connection, select I acknowledge these settings require 24 hours to take effect. A notification will let you know when your SSO connection is ready to test.
-
If you are editing an existing SSO connection, select I acknowledge these changes can take up to 30 minutes to take effect. We recommend waiting 30 minutes before you test the connection.
-
-
Select Save. The connection's setup page appears. Under Configure your connection, you can select Edit connection to edit the connection's settings.
If you leave the setup page and need to return to it, find the connection under Single sign-on (SSO) on the Authentication settings page and select Manage from its menu.
4. Select your claimed email domains
-
On the connection's setup page, under Claimed domains, select Claim domains. The Claimed domains screen appears.
-
Select the checkbox for each email domain that this connection uses. Users with Blackbaud ID email addresses on these domains are redirected to your IdP when they sign in. A domain that's already linked to another connection is unavailable until you unlink it from that connection.
Tip: To claim another domain for your organization, select Claim another domain and follow the steps to claim email domains.
-
Select Close.
Note: You can't test your connection until Blackbaud verifies at least one of the connection's domains. Verification usually takes a few minutes, but in rare cases it can take up to two days. You'll receive a confirmation email after we verify a domain.
5. Test connection
When you save your configuration settings, test mode is turned on automatically. Before you can enable your SSO connection, at least one user must successfully sign in using test mode.
To verify that your organization can use your IdP to sign in to Blackbaud solutions, select Learn about testing SSO under Test connection. Then copy the URL under Blackbaud ID redirect and test your connection in a private or incognito browser window.
Note: A consent screen in test mode means your IdP is configured to require admin approval before users authenticate. This consent screen is for the Blackbaud SSO application, and not for new permissions or access. It seeks read-access to the information that you configured during your SSO setup. To proceed, follow the instructions on your IdP's consent screen.
After you turn off test mode, you can select Erase all single sign-on settings under Configure your connection to clear your configuration settings and start over. For example, you can select this option to change your connection method. The option is not available after you turn on SSO, but you can turn off SSO to restore it.
6. Turn on SSO
To complete the connection to your IdP, select Turn on SSO under Turn on. Then on the Connect your OIDC SSO screen, select Connect with OIDC.
Users are then redirected to your IdP when they sign in with one of your claimed domains. After they authenticate through your IdP, their Blackbaud IDs:
-
Automatically redirect them to your organization's login for future sign-ins. From there, they are redirected to their Blackbaud profiles unless you edit the redirect URL to specify a Blackbaud solution.
Tip: Don't forget that if your users use an app in your IdP's portal to connect to Blackbaud solutions, you must configure that app to use the redirect URL for your live connection.
-
Use your IdP for password updates, lockouts, and other authentication management.
Note: After you enable SSO, resend any pending invitations.