> ## 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 Softdocs Etrieve single sign-on with Allthenticate

> Set up Allthenticate as the SAML identity provider for Softdocs Etrieve: register Softdocs, enter the Allthenticate IdP values, and map user attributes.

Softdocs administrators can set up SAML 2.0 single sign-on themselves.

## Before you start

* An Allthenticate admin portal account that can manage **SSO**, and the Allthenticator app on each user's phone.
* A Softdocs administrator who can change SSO settings.
* Users provisioned in Softdocs, unless your instance has Just-in-Time (JIT) provisioning turned on. Ask your Softdocs administrator.

For the general Allthenticate SAML steps, see [SAML single sign-on](https://help.allthenticate.com/help/sso/saml.md).

## Configure in Allthenticate

**1. Get Softdocs' service provider values**

In the Softdocs admin portal, open the SSO settings (for example **Authentication** > **SSO**) and choose **SAML**. Copy the **ACS URL** and **SP Entity ID**, and download the SP metadata XML file if Softdocs offers one.

**2. Add the service provider**

In the admin portal, go to **SSO** > **SAML** and select **Add Service Provider**. Enter a **Provider Name** such as `Softdocs`. Then either check **Use Metadata File** and upload the `.xml` file, which must contain the entity ID, or uncheck it and enter the **Entity ID** and **ACS URL**. The [SAML setup guide](https://help.allthenticate.com/help/sso/saml.md#register-the-service-provider-in-allthenticate) shows the dialog both ways.

**3. Add name attributes if Softdocs uses them**

Allthenticate identifies the user by email address. To pass names too, select **Add Attribute** under **Custom Attribute Statements** and add `firstName` mapped to `user.firstName` and `lastName` mapped to `user.lastName`.

**4. Save and get the certificate**

Select **Save**, open the service provider from the list, and select **Download Public Key** to save the signing certificate.

## Configure in Softdocs

**1. Enter the Allthenticate values**

In Softdocs' SAML configuration, enter:

| Softdocs field | Value |
| - | - |
| IdP Entity ID | `https://saml.allthenticate.com/idpmetadata` |
| Log On URL | `https://saml.allthenticate.com/ssoentry` |
| Log Out URL | `https://saml.allthenticate.com/logout` |
| Certificate Fingerprint | The fingerprint of the certificate from **Download Public Key** |

If Softdocs accepts identity provider metadata, give it `https://saml.allthenticate.com/idpmetadata` instead of entering each field.

**2. Map the attributes**

In the attribute mapping section, map the name ID (email address) to **Email** or **Username**, and `firstName` and `lastName` to **First Name** and **Last Name** if you added them. The email must match the user's Softdocs account.

**3. Save and publish**

Save the configuration and make sure SAML SSO is enabled and published, so the SSO option appears on the Softdocs login page.

SSO doesn't change Softdocs roles: you keep managing them in Softdocs.

## Test sign-in

1. In a private browser window, open your Softdocs login page.
2. Choose the SSO or SAML option, which may be labeled **Sign in with SSO**.
3. Softdocs redirects you to Allthenticate. Approve the request in the Allthenticator app.
4. You return to Softdocs, signed in.

## Troubleshooting

> [accordion] User not found after SSO
>
> The email or username in Softdocs must match the email Allthenticate sends. Without JIT provisioning, the user must already exist in Softdocs.

> [accordion] Certificate errors
>
> Check that Softdocs has the current Allthenticate signing certificate or its fingerprint.

> [accordion] Redirect loop or errors after approving
>
> The ACS URL on the Allthenticate service provider must match what Softdocs expects exactly. Even a trailing slash makes it fail.

> [accordion] The request never completes on the phone
>
> Check in the admin portal that the user's account is active, not suspended.

> [accordion] No SSO option on the Softdocs login page
>
> SAML SSO isn't enabled and published in the Softdocs admin portal yet.

Softdocs also supports OIDC. To use Allthenticate over OIDC instead, see [OIDC single sign-on](https://help.allthenticate.com/help/sso/oidc.md) or email [help@allthenticate.com](mailto:help@allthenticate.com). For Softdocs SSO settings, contact [Softdocs support](https://softdocs.com) or your Softdocs account representative.

## 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)
* [Softdocs](https://softdocs.com)


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