> ## Documentation Index
> Fetch the complete documentation index at: https://help.allthenticate.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Set up SAML single sign-on for Blackboard Learn

> Connect Blackboard Learn by Anthology to Allthenticate over SAML so students, faculty and staff sign in by approving on their phone, with optional JIT provisioning.

You set up Blackboard first, register it in Allthenticate, then connect the two and switch the provider on.

## Before you start

* Admin access to the Allthenticate admin portal.
* Blackboard Learn administrator access to **System Admin** > **Authentication**.
* Users who will sign in have the Allthenticator app set up.
* Allthenticate sends each user's email address as the SAML NameID, and Blackboard looks users up by username. Blackboard usernames must therefore be the users' email addresses, and Blackboard requires the NameID to be at least 6 characters long.
* Without just-in-time (JIT) provisioning, each user must already have a Blackboard account.

> [!TIP]
>
> Set this up in your Blackboard staging environment first. Register each Blackboard environment as a separate service provider in Allthenticate.

## Create the SAML provider in Blackboard

**1. Create the provider**

In Blackboard, go to **System Admin** > **Authentication** and select **Create Provider** > **SAML**. Enter:

| Field | Value |
| - | - |
| **Name** | `Allthenticate SAML`, or any name you like |
| **Authentication Provider** | **Inactive**, until setup is complete |
| **User Lookup Method** | `Username` |
| **Restrict by Hostname** | **Use this provider for any hostnames** |
| **Link Text** | `Sign in with Allthenticate`, or any text. It appears on the Blackboard sign-in page. |

Select **Save and Configure**.

**2. Configure the service provider settings**

* Make sure **Entity ID** is the same as the ACS URL.
* Select **Enable Automatic SSO**.
* For **Single Logout Service Type**, select **Post** and **Allow LogoutResponse**. Leave **Redirect** deselected.
* Under **Service Provider Metadata**, select **Generate** and save the XML file.

**3. Set up the data source and JIT provisioning**

* If you use JIT provisioning (recommended), create a data source named `SAML` for this provider, which keeps JIT-created accounts separate from manually created or SIS-imported ones. Otherwise use `SYSTEM` or your preferred data source.
* Select **Enable JIT Provisioning** to create Blackboard accounts automatically the first time an unknown user signs in.
* In **Compatible Data Sources**, select the data sources this provider works with.

**4. Save for now**

Set **Identity Provider Type** to **Point Identity Provider**, leave **Identity Provider Metadata** for later, and select **Submit**.

## Configure in Allthenticate

**1. Add Blackboard as a service provider**

In the admin portal, go to **SSO** > **SAML** and select **Add Service Provider**. Enter a **Provider Name**, for example `Blackboard Learn - Production`. The [SAML setup guide](https://help.allthenticate.com/help/sso/saml.md#register-the-service-provider-in-allthenticate) shows each field of this dialog.

**2. Upload the Blackboard metadata**

Under **Metadata File**, upload the XML file you generated in Blackboard.

**3. Add name attributes for JIT provisioning**

If you enabled JIT provisioning, add these under **Custom Attribute Statements** so Blackboard can fill in names:

| Name | Value |
| - | - |
| `urn:oid:2.5.4.42` | `user.firstName` |
| `urn:oid:2.5.4.4` | `user.lastName` |

Select **Save**.

## Configure in Blackboard

**1. Add Allthenticate's metadata**

In **System Admin** > **Authentication**, open the SAML provider you created. Under **Identity Provider Metadata**, select **Metadata URL** and enter:

```text theme={null}
https://saml.allthenticate.com/idpmetadata
```

Select **Validate**, then **Submit**. Blackboard fills in Allthenticate's entity ID, SSO URL and certificate.

**2. If validation fails, upload the file instead**

In Allthenticate, open the Blackboard service provider and select **Download Metadata**. In Blackboard, choose **Metadata File** instead of **Metadata URL** and upload that file.

**3. Activate the provider**

In **System Admin** > **Authentication**, open the menu next to the provider's name and set it to **Active**.

## Test sign-in

1. Open a private or incognito browser window and go to your Blackboard sign-in page.
2. Select **Sign in with third-party account**, then your Allthenticate provider.
3. You are redirected to Allthenticate. Approve the request on your phone.
4. You return to Blackboard, signed in.

The standard Blackboard username and password sign-in stays available alongside SSO, so you can still sign in if the SAML setup fails.

## Troubleshooting

> [accordion] Validating the metadata URL fails
>
> This can be a certificate issue. Download the metadata file from Allthenticate with **Download Metadata** and use the **Metadata File** option in Blackboard instead.

> [accordion] User not found after SSO
>
> The NameID Allthenticate sends (the user's email address) must match a Blackboard username. Without JIT provisioning, the account must already exist in Blackboard.

> [accordion] Names are missing on accounts created by JIT
>
> Check the `urn:oid:2.5.4.42` and `urn:oid:2.5.4.4` attribute statements on the Allthenticate service provider. To see which attributes are sent, inspect the SAML response with a browser SAML tracer extension.

> [accordion] Single logout doesn't work
>
> In the Blackboard provider, select **Post** for **Single Logout Service Type** and check **Allow LogoutResponse**. Leave **Redirect** deselected.

> [accordion] Approval on the phone fails
>
> Check that the user's account is active in the Allthenticate admin portal. On the **Users** page, a suspended user shows **Re-activate user**.

> [accordion] The SSO option isn't on the sign-in page
>
> Set the provider to **Active** in **System Admin** > **Authentication**.

For other problems, see [SAML troubleshooting](https://help.allthenticate.com/help/sso/saml.md#troubleshooting). For Blackboard settings, see the [Anthology Help Center](https://help.anthology.com).

## Related

* [Set up Allthenticate as a SAML identity provider](https://help.allthenticate.com/help/sso/saml.md)
* [Single sign-on overview](https://help.allthenticate.com/help/sso/overview.md)
* [Anthology Help Center](https://help.anthology.com)


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.