> ## 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 Allthenticate as a SAML identity provider

> Register a SAML service provider in the Allthenticate admin portal, map attributes, and give the app Allthenticate's SSO endpoint, entity ID and certificate.

## How it works

Allthenticate is the SAML identity provider (IdP) for your apps:

1. A user opens a SAML app, and the app redirects the sign-in request to Allthenticate.
2. Allthenticate confirms the user with their phone. Usually the user approves the request in the Allthenticator app, and the first sign-in from a browser uses a QR code to trust that browser.
3. In a trusted browser, while the user's phone is connected to their computer over Bluetooth, [Proximity Login](https://help.allthenticate.com/help/features/proximity-login.md) completes this check automatically, with no prompt.
4. Allthenticate sends a signed assertion back to the app, and the app signs the user in.

Live flow

IdP → Phone → Apps

A user opens any SAML app and is redirected to Allthenticate, the identity provider. Allthenticate confirms the user with their phone, then sends a signed assertion back and the app signs them in.

Example apps

## App guides

If your app is listed here, follow its guide for the exact values and screens on the app's side.

* [Amazon Web Services](https://help.allthenticate.com/help/sso/apps/amazon-web-services.md): SAML
* [Anecdotes](https://help.allthenticate.com/help/sso/apps/anecdotes.md): SAML
* [Atrium Campus Access](https://help.allthenticate.com/help/sso/apps/atrium-campus-access.md): SAML
* [Blackboard](https://help.allthenticate.com/help/sso/apps/blackboard.md): SAML
* [Canvas LMS by Instructure](https://help.allthenticate.com/help/sso/apps/canvas.md): SAML
* [GitLab](https://help.allthenticate.com/help/sso/apps/gitlab.md): SAML
* [Google Workspace](https://help.allthenticate.com/help/sso/apps/google-workspace.md): SAML
* [HubSpot](https://help.allthenticate.com/help/sso/apps/hubspot.md): SAML
* [LinkedIn Sales Navigator](https://help.allthenticate.com/help/sso/apps/linkedin-sales-navigator.md): SAML
* [Microsoft 365](https://help.allthenticate.com/help/sso/apps/microsoft-online.md): SAML
* [NinjaOne](https://help.allthenticate.com/help/sso/apps/ninjaone.md): SAML
* [Rapid7 InsightVM](https://help.allthenticate.com/help/sso/apps/rapid7-insightvm.md): SAML
* [Salesforce](https://help.allthenticate.com/help/sso/apps/salesforce.md): SAML
* [Sectigo Certificate Manager](https://help.allthenticate.com/help/sso/apps/sectigo-certificate-manager.md): SAML
* [Softdocs Etrieve](https://help.allthenticate.com/help/sso/apps/softdocs.md): SAML
* [Splashtop](https://help.allthenticate.com/help/sso/apps/splashtop.md): SAML
* [Stripe](https://help.allthenticate.com/help/sso/apps/stripe.md): SAML

## Before you start

* Admin access to the Allthenticate admin portal at [admin.allthenticate.com](https://admin.allthenticate.com).
* Admin access to the app's SSO or SAML settings.
* From the app, either its service provider metadata file (`.xml`), or its **entity ID** (sometimes called audience URI or issuer) and **ACS URL** (assertion consumer service URL, sometimes called reply or sign-on URL).
* Users who will sign in have the Allthenticator app set up. See [Set up the Allthenticator app](https://help.allthenticate.com/get-started/allthenticator-app.md).

## Register the service provider in Allthenticate

**1. Open the SAML tab**

In the admin portal, select **SSO** in the sidebar, then the **SAML** tab.

![Admin portal SSO page with the SAML tab selected, showing the SAML Service Providers table with Name, Entity and Created On columns and the Add Service Provider button](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/portal/saml-list.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=f0ea94eb64cbb7d39e13473738de9b9e)

The SAML tab lists your registered service providers.

**2. Add the service provider**

Select **Add Service Provider** and enter a **Provider Name**, for example the app's name.

**3. Describe the app**

Choose one of these:

* **With a metadata file**: leave **Use Metadata File** checked and upload the app's file under **Metadata File**. The file must be valid XML and must contain the app's entity ID.
* **Without a metadata file**: uncheck **Use Metadata File**, then enter the app's **Entity ID** and **ACS URL**. Fill in **Signing Certificate** only if the app gives you one.

![Add Service Provider dialog with Use Metadata File checked, showing Provider Name, Needs Unique IDs, Use Office 365 Settings, the Metadata File upload field, Custom Attribute Statements and Authentication Context](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/portal/saml-add-dialog.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=1c7f9ead03ec6169ae85407f33314fd7)

With a metadata file

![Add Service Provider dialog with Use Metadata File unchecked, showing Provider Name, Entity ID, ACS URL and Signing Certificate fields filled with example values](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/portal/saml-add-dialog-manual.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=2ffb9b8c44c7233f58c2e68e7d0fae89)

Without a metadata file

**4. Set any options the app needs**

See [Service provider options](#service-provider-options). Most apps need none.

**5. Save**

Select **Save**. The app appears in the service provider list.

## Service provider options

| Option | When to use it |
| - | - |
| **Needs Unique IDs** | Leave unchecked unless the app's guide tells you otherwise. |
| **Use Office 365 Settings** | Only for Microsoft 365 and Entra ID. It adds the `IDPEmail` attribute and the authentication context Microsoft expects. See [Microsoft Online](https://help.allthenticate.com/help/sso/apps/microsoft-online.md). |
| **Custom Attribute Statements** | When the app expects specific attributes in the assertion. Select **Add Attribute**, type the attribute **Name** the app expects, and pick a **Value**. |
| **Authentication Context** > **Class Reference** | Only when the app requires a specific authentication context class, for example `urn:oasis:names:tc:SAML:2.0:ac:classes:TLSClient`. |

Attribute values you can send:

| Value | Sends |
| - | - |
| `user.email` | The user's email address |
| `user.firstName` | The user's first name |
| `user.lastName` | The user's last name |
| `user.groups` | The user's groups |
| `org.name` | Your organization's name |

### What Allthenticate sends

* **NameID**: the user's email address. Allthenticate uses the NameID format the app requests, and the email address format when the app doesn't request one.
* **Attributes**: an `email` attribute by default. When you add custom attribute statements, the assertion carries those attributes instead, so add `user.email` yourself if the app still needs it.
* **Signing**: both the response and the assertion are signed with RSA-SHA512.

Because the NameID is the email address, each user's account in the app must use the same email address as their Allthenticate account.

## Give the app Allthenticate's details

Select the service provider in the list to open it. The **Metadata** section shows the values to enter in the app:

![Service Provider dialog for a saved provider, with the Metadata section showing SSO Endpoint, Entity ID and Logout Endpoint fields with copy buttons, and Download Metadata and Download Public Key buttons](https://mintcdn.com/allthenticate-e69095b0/7yUU7sq9zDstLP_S/images/help/sso/portal/saml-provider-metadata.png?fit=max\&auto=format\&n=7yUU7sq9zDstLP_S\&q=85\&s=ade6bf19f30da13c71f8d4be0fdd2315)

A saved service provider. The Metadata section holds the values the app needs.

| Field in Allthenticate | Example | What the app may call it |
| - | - | - |
| **SSO Endpoint** | `https://saml.allthenticate.com/saml/sso/12` | Sign-in URL, SSO URL, login URL |
| **Entity ID** | `https://saml.allthenticate.com/saml/metadata/12` | IdP entity ID, issuer |
| **Logout Endpoint** | `https://saml.allthenticate.com/logout` | Sign-out URL, single logout URL |

The number at the end is your service provider's ID and differs for each app you register.

Below the fields:

* **Download Metadata** downloads Allthenticate's metadata for this service provider as an XML file. Use it when the app accepts an IdP metadata file. The **Entity ID** URL also serves the same metadata, for apps that take a metadata URL.
* **Download Public Key** downloads Allthenticate's signing certificate as `Allthenticate-Public.crt`. Use it when the app asks for the IdP certificate.

### Organization-wide endpoints

Some app guides use Allthenticate's organization-wide metadata instead of the per-app values above. These work for any registered service provider:

| Value | URL |
| - | - |
| IdP entity ID and metadata URL | `https://saml.allthenticate.com/idpmetadata` |
| Sign-in URL | `https://saml.allthenticate.com/ssoentry` |
| Sign-out URL | `https://saml.allthenticate.com/logout` |

Use one set consistently: if you enter the organization-wide entity ID in the app, also use the organization-wide sign-in URL.

## Test sign-in

1. Open a private or incognito browser window, so an existing session doesn't hide a problem.
2. Go to the app's sign-in page and choose its SSO option.
3. The app redirects you to Allthenticate. Approve the request on your phone. The first time you sign in from a browser, you scan a QR code with the Allthenticator app to trust that browser.
4. You return to the app, signed in.

## Troubleshooting

> [accordion] The metadata file is rejected when adding the service provider
>
> The file must be well-formed XML and must contain the app's entity ID. If the app doesn't provide a usable file, uncheck **Use Metadata File** and enter the **Entity ID** and **ACS URL** by hand.

> [accordion] Sign-in fails after approving on the phone
>
> * Check that the user belongs to the organization that registered the app, and that their email address in the app matches their Allthenticate email exactly.
> * Check that the user's account is active. On the **Users** page, a suspended user shows **Re-activate user**.
> * Check that the ACS URL registered in Allthenticate matches what the app expects exactly. A trailing slash is enough to break it.

> [accordion] The app rejects Allthenticate's certificate
>
> Download it again with **Download Public Key**. Some apps want the certificate pasted as text: open the `.crt` file in a text editor and copy everything, including the `-----BEGIN CERTIFICATE-----` and `-----END CERTIFICATE-----` lines.

> [accordion] The app is missing a user attribute
>
> Open the service provider and add the attribute under **Custom Attribute Statements**, using the exact attribute name the app expects. Attribute names are often case-sensitive.

Still stuck? Email [help@allthenticate.com](mailto:help@allthenticate.com) with the app's name and the time of the failed sign-in.


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