Where: Organization → Single Sign-On in Enclave (Owner role). One email domain maps to one connection.
OIDC
1
Register a Web application at your IdP
- Redirect URI:
https://<your-enclave-host>/api/auth/oidc/callback - Scopes:
openid,profile,email - Note the Client ID and Client Secret.
2
Add the connection in Enclave
Add Connection → OIDC → Custom:
Enclave resolves the user’s email from
email, falling back to preferred_username then upn (both must contain @). Ensure your IdP releases one of these in the ID token.SAML 2.0 — the generic field mapping
SAML config is entered field-by-field. The two mappings that trip people up: a URL is not an Entity ID, on both sides.Signing & format
- Sign the assertion (or response) with RSA-SHA256 / SHA256 digest.
- Do not encrypt the assertion (unencrypted only).
- NameID:
emailAddressworks for most IdPs; if yours rejects it (some ADFS/Entra setups), set the connection’s NameID Format to Persistent or Unspecified. - SP certificate: generate it one-click on the connection card, then import the per-connection SP metadata URL at your IdP.
- Multiple concatenated PEM certs are accepted in the certificate field to cover IdP signing-key rotation.