# Other SAML providers

> Map the common SAML settings for another identity provider.

Source: https://diakrin.com/docs/sso/generic-saml

An identity administrator uses this checklist to connect any SAML 2.0 identity provider without a dedicated guide, including AD FS and PingFederate. Verify your domain and assign a pilot user before testing sign-in.

## Before you start

| You supply | Example | Comes from |
| --- | --- | --- |
| Setup values | ACS URL and SP Entity ID | The [setup packet](/docs/sso#get-your-setup-packet) |
| Work-email domains | `acme.com` | The domains your people sign in with |
| Immutable user id attribute | Object id, employee number that is never reused | Your directory |

## Configure the service provider

Map these fields in your provider. Your provider may use a different name for each.

| Your provider may call it | Use this value |
| --- | --- |
| Audience, relying-party identifier, SP Entity ID | `urn:amazon:cognito:sp:<poolId>` from the setup packet |
| Reply, callback, recipient, assertion consumer URL | `https://auth.diakrin.com/saml2/idpresponse` |
| Sign-on, application home, start URL | `https://app.diakrin.com` |
| Subject or NameID format | Persistent |
| Subject or NameID value | The immutable user id, never an email or login name |
| Attribute `email` | Work email; if you cannot use the name `email`, tell Diakrin the exact name |
| Response binding | HTTP-POST |

The NameID identifies the person for good. An email or login name can pass to a new employee, who would then sign in as the person who had it before.

Configure signed assertions with a current certificate and SHA256 signing. Restrict application access to your pilot population. Keep MFA requirements in your organization's identity policy.

## Share the identity-provider configuration

In **Settings → Sign-in → SSO identity provider**, paste the metadata URL or upload the XML, then select **Verify and connect**. Metadata must describe the intended IdP; a service-provider descriptor cannot replace it.

A private metadata URL that Diakrin cannot reach requires an XML upload. Browsers still need to reach the IdP sign-in page. Do not expose a private identity service merely to complete this setup.

Then [prove your domains](/docs/sso#prove-your-domains) with a TXT record at `_diakrin-sso.<domain>`.

## Confirm compatibility

Each person must already be a member of your organization with the same work email; see [Sign in and join your team](/docs/sso#sign-in-and-join-your-team). Start the pilot from the console's company SSO form. Test the exact issuer, assertion signature, audience, recipient, email and stable identifier. Follow [Test and roll out SSO](/docs/sso/testing).

SCIM, automatic group-to-role mapping and global SAML logout are outside this onboarding flow. For OIDC, use [Connect with OIDC](/docs/sso#connect-with-oidc).

## If it fails

| Symptom | Cause | Fix |
| --- | --- | --- |
| Audience or recipient mismatch | A setup value differs | Compare the Entity ID and ACS URL character by character |
| Diakrin cannot read the email | The attribute has another name | Name it `email`, or tell your onboarding contact its exact name |
| Signature rejected | Expired certificate or metadata changed | Send the current metadata to your onboarding contact |
