Developers · SAML
Integrate a SAML 2.0 service provider
AuthGuard is a SAML 2.0 identity provider. This article sums up what a service provider (SP) needs to integrate.
Identity provider details
| Item | Value |
|---|---|
| Entity ID and metadata | https://<host>/saml/<organization>/metadata |
| SSO (HTTP-Redirect and HTTP-POST) | https://<host>/saml/<organization>/sso |
| Sign-out | https://<host>/saml/<organization>/logout |
| Certificate | PEM with a SHA-256 fingerprint, valid 730 days |
<organization> is the organization's internal identifier (Tenant ID).
Request rules
- The
AssertionConsumerServiceURL(or its index) must exactly match a registered ACS (https). Protection lies in the exact registration: AuthnRequest signatures are not verified. - Responses always go by HTTP-POST; Artifact and Redirect are not supported.
ForceAuthnforces a new confirmation;IsPassivewithout a usable single sign-on session returnsNoPassive.RelayStateis returned as received.
The response
- RSA-SHA256 signature of the response, the assertion or both (configurable).
- Assertion lifetime of 60 to 600 seconds (default 300).
- NameID: email, pairwise random identifier (persistent), user UUID or directory user name.
- Up to 32 attributes:
email,user_id,groups,directory_username,roleor constants.
Error statuses
| Status | Cause |
|---|---|
RequestDenied | The access policy refused (federation.authorize, resource saml: plus the application identifier) |
NoPassive | Passive request without a usable session |
NoAuthnContext | Requested authentication context not accepted |
UnknownPrincipal | The NameID source has no value for this person |
Not supported
SAML Single Logout, encrypted assertions and account creation at the SP (no outbound SCIM).
Error codes in this article
Was this page helpful?
Thank you. Your answer stays in this browser; nothing is sent.
Sorry about that. Try:
- searching for the exact text of the message or the error code
- the error code index
- asking your organization's administrator