Unidy Docs

Manage SAML service providers

Configure external applications that accept sign-in assertions from Unidy.

Use Auth → SAML Configuration to register an external application that accepts a SAML assertion from Unidy.

Dashboard sidebar with SAML Configuration selected

Auth section sidebar — SAML Configuration sits in its own SAML group, below OAuth and above Access Control · highlight on the sidebar entry

Unidy is the identity provider (IdP). The external application is the service provider (SP). The SP starts sign-in, Unidy authenticates the customer, and the customer's browser posts a signed response to the SP's assertion consumer service (ACS).

For inbound sign-in from another identity provider, use Login providers. This SAML configuration does not make Unidy a SAML service provider.

Login Providers list showing a Google entry

Auth → Login Providers, the screen most often confused with this one — a seeded Google provider, Yes in the Enabled column. These are identities Unidy consumes, not connections Unidy serves.

Before you begin

Obtain these details from the SP team:

  • Its entity ID, entered as Issuer.
  • Its HTTPS ACS URL and the exact hostname that receives responses.
  • Its certificate, or its metadata URL and certificate fingerprint.
  • The identity attributes and logout behavior it expects.

SAML signing must already be configured for your Unidy deployment. Ask your Unidy contact if the metadata endpoint is unavailable.

Connections are global. Under enforced role-based access control, use a global Auth / SAML / SAML configurations (saml_configs) grant: read to inspect, write to create or edit, and delete to remove. A brand-scoped role does not grant access to this screen.

Configure a service provider

The manual ACS configuration gives an explicit response destination:

  1. Open Auth → SAML Configuration and select Add SAML config.
  2. Enter the SP's entity ID exactly in Issuer.
  3. Enter its ACS URL and paste its certificate into Cert.
  4. In Response hosts, enter the ACS hostname, such as accounts.example.com. Separate multiple hosts with spaces. Do not include https://, a path, or a wildcard.
  5. Save the connection.
  6. Give the SP team the Unidy metadata URL for the host you will use: https://your-unidy-host/saml/metadata.
  7. Ask the SP team to import the IdP entity ID, sign-in endpoint, and Unidy signing certificate from that document.
  8. Complete the test checklist below before making the connection available to customers.

SAML Configuration list, empty

SAML Configuration — the list, empty in the seeded tenant · highlight on Add Saml config +

Saving a record validates its configuration fields; it does not prove that a complete SAML exchange succeeds.

Field reference

FieldWhat to enter
IssuerThe SP's unique entity ID. It must match the issuer in its authentication request.
ACS URLThe SP endpoint to which the browser posts Unidy's SAML response. A configured ACS URL takes precedence over the request's ACS destination.
CertThe SP certificate. This is distinct from Unidy's signing certificate published in IdP metadata.
Metadata URLThe SP's metadata address. Its hostname also contributes to the permitted response hosts. Do not rely on this field to automatically import or refresh the SP's metadata.
FingerprintThe SP certificate fingerprint, paired with Metadata URL for configuration validation.
Response hostsExact hostnames permitted to receive responses, separated by spaces. For manual configuration, include the ACS hostname explicitly.

Supply at least one complete pair: Metadata URL with Fingerprint, or ACS URL with Cert. Both complete pairs are accepted; they are not mutually exclusive. If you use only the metadata pair, the authentication request must supply a usable ACS destination because the current integration does not provide automatic metadata import.

Add Saml config form, empty

Add Saml config — the empty form. Issuer is the only field marked required; the two numbered options below it are alternatives, not sections you both fill in.

Request signatures

The current SAML integration does not enforce SP AuthnRequest signatures from the stored Cert or Fingerprint fields. Saving or replacing these values is not a way to enable signed-request enforcement or revoke an SP's access. Confirm any requirement for signed authentication requests with your Unidy contact before rollout.

Use exact response hostnames even if a form accepts a wildcard. Runtime response-host matching requires the exact hostname. This is separate from the signature check performed by the SP on Unidy's response.

Add Saml config form filled with Option 2 values

The same form filled the Option 2 way — Acs url, Cert and Response hosts completed, Option 1 left empty. The form is not saved here; the seeded tenant is left untouched.

What the service provider receives

The assertion uses the customer's email address as the default NameID and includes these attributes:

AttributeValue
nameCustomer email address.
fullNameCustomer name.
groupunidy.

These attributes are not edited on the connection form. Agree the mapping with the SP before rollout. For protocol behavior and supported NameID formats, use SAML overview.

Test the connection

Use a test account and start from the SP's sign-in button.

  1. Confirm that the request reaches the intended Unidy host and its issuer matches the saved record.
  2. Sign in to Unidy, then confirm that the browser posts the response to the intended ACS URL.
  3. Confirm that the SP verifies Unidy's signature, accepts the audience and destination, and signs in the expected account.
  4. Inspect the received NameID and attributes with the SP team.
  5. Test logout separately. The Unidy logout endpoint ends the Unidy session; it does not provide coordinated logout across every connected SP.
  6. Repeat for each host or brand involved, using the metadata served by that host. Do not assume different hostnames publish interchangeable metadata.

For a failed exchange, record the test time, issuer, destination, and error without retaining live assertions in a support ticket. See Test and troubleshoot SAML.

Maintain or retire a connection

Search the list by issuer, open the record, edit the required fields, and save. Retest from the SP after a destination, issuer, or certificate change.

Unidy signing certificate changes require a coordinated SP trust update. The signing certificate is deployment configuration, not the Cert field on this screen. Follow Metadata and certificates.

To retire a connection, coordinate disabling sign-in at the SP and remove the dashboard record with the appropriate permission. Do not treat deleting the record as guaranteed immediate revocation on every running worker: configuration can be cached. Confirm retirement with your Unidy contact and a fresh SP-initiated request before considering access withdrawn.

Was this page helpful?