Skip to content

Configure a SAML connector

View as Markdown

This guide configures an external corporate identity provider as a SAML 2.0 federation connector. Sudomimus is the service provider (SP): it sends an AuthnRequest to your IdP, validates the signed assertion posted to its ACS, and then runs the same Layer 1, Layer 2, and issuance pipeline used by OIDC federation.

You need:

  • an organization in the With portal;
  • permission to create a SAML application at your IdP;
  • the IdP’s entity ID and SP-initiated SSO URL; and
  • the public X.509 certificate for the key the IdP uses to sign assertions.

Sudomimus supports SP-initiated SAML browser SSO only. The initial AuthnRequest is sent with HTTP-Redirect binding and the response must return with HTTP-POST binding.

1. Create the SAML application at your IdP

Section titled “1. Create the SAML application at your IdP”

Create a custom SAML 2.0 application and register these production SP values:

IdP settingValue
SP Entity ID / Audienceurn:sudomimus:production:federation-sp
ACS / Reply URLhttps://federation.sudomimus.com/saml/acs
Initiation modeSP-initiated
Response bindingHTTP-POST
Assertion signingRequired

The ACS must match exactly. The audience in the assertion must be the SP Entity ID above. If you are configuring a non-production environment, use the read-only SP Entity ID and ACS displayed for that environment instead.

2. Configure subject and profile attributes

Section titled “2. Configure subject and profile attributes”

The stable external identity normally comes from SAML NameID. Configure NameID to be stable for the lifetime of the user and unique within this IdP application. Do not use a mutable display name.

You may also release profile values as SAML attributes. Record the exact attribute names, including URI-style names if your IdP uses them:

Suggested purposeExample attribute name
Emailmail
Given namegiven_name
Family namefamily_name

The names are examples, not required literals. The values entered in With must exactly match the attribute names emitted in the assertion.

An IdP-provided email is not automatically trusted by Sudomimus. It becomes usable for email ownership and account matching only when the connector’s organization has a current verified claim for that email domain.

From the IdP, copy:

  • the exact IdP Entity ID used as the assertion issuer;
  • the HTTPS IdP SSO URL that accepts AuthnRequests; and
  • the active assertion-signing certificate.

Export the certificate as PEM-encoded X.509 public certificate data, including the delimiters:

-----BEGIN CERTIFICATE-----
MIIC...
-----END CERTIFICATE-----

Do not paste a private key. During certificate rollover, keep both the old and new public certificates configured for the overlap window before removing the retired certificate.

In the With portal:

  1. Open your organization.
  2. Open Federation connectors and choose New connector.
  3. Select SAML 2.0.
  4. Enter a display name, IdP Entity ID, IdP SSO URL, and signing certificate.
  5. Optionally enter the exact email, given-name, and family-name attribute names.
  6. Create the connector.

The With portal creates new SAML connectors with NameID as the stable subject source. The protocol, IdP Entity ID, and subject source define the credential namespace and cannot be changed later; create a new connector if one of them must change.

The connector detail page shows the authoritative SP Entity ID and ACS again. Compare them with the values registered at the IdP before testing.

Choose one or both modes:

The protocol is already fixed by the connector. Neither Layer 1 rule needs a separate OIDC/SAML switch.

Use a non-administrator test user and start the appropriate application-managed or domain-managed flow.

Verify that:

  • the browser receives an SP-initiated AuthnRequest at the configured IdP;
  • the IdP posts the response to the exact ACS;
  • the assertion issuer, audience, recipient, and InResponseTo match the flow;
  • the assertion contains one AuthnStatement and is within its validity window;
  • the assertion, not only the response, is signed by a configured certificate; and
  • Layer 2 admits the resulting identity.

For an initial protocol smoke test, use an EVERYONE Layer 2 rule. If you use an EMAIL rule, ensure the mapped email attribute is present and its domain is verified by the connector’s organization.

Sudomimus rejects replayed requests and assertions. Browser-facing failures are intentionally generic, so configuration troubleshooting should start with the IdP’s SAML response inspector and the checklist above.

Do not enable IdP-initiated SSO, encrypted assertions, Single Logout, artifact binding, metadata import, requested authentication context policy, or signed AuthnRequests. These profiles are not currently accepted.