Configuration Reference
SAML Settings Record Fields
| Name |
|---|
-
- Type
- string
- Required
true
A descriptive name for this SAML configuration.
-
- Type
- string
- Required
true
The unique identifier for your Service Provider (typically your domain URL).
-
- Type
- string
- Required
true
The Assertion Consumer Service URL where SAML responses are received.
-
- Type
- string
- Default
- urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST
The binding method for the ACS endpoint.
-
- Type
- string
- Default
- urn:oasis:names:tc:SAML:2.0:nameid-format:transient
The format for the Name ID in SAML assertions.
-
- Type
- text
The Service Provider's public certificate (PEM format).
-
- Type
- text
The Service Provider's private key (PEM format).
-
- Type
- string
- Required
true
The unique identifier of the Identity Provider.
-
- Type
- string
- Required
true
The Single Sign-On URL of the Identity Provider.
-
- Type
- string
- Default
- urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
The binding method for the SSO endpoint.
-
- Type
- string
The Single Logout URL of the Identity Provider.
-
- Type
- text
- Required
true
The Identity Provider's public certificate for validating responses.
-
- Type
- string
Optional prefix for usernames created via SAML authentication.
-
- Type
- int
- Required
true
The page ID (folder) where new users will be created.
-
- Type
- string
Comma-separated list of user group UIDs assigned to new users.
-
- Type
- bool
- Default
- false
Accept a SAML response that answers no login this browser started on this site (IdP-initiated login, for example from an application portal of the Identity Provider). Off by default: a response is then accepted only if it answers the AuthnRequest this browser was sent to the Identity Provider with. Switching it on allows login CSRF for this settings record: anyone with an account at the Identity Provider can log a visitor into that account. Switch it on only if your Identity Provider starts logins itself.
SP-initiated login remembers the AuthnRequest in the cookie
__(Host- nr_ saml_ auth_ request Same, valid for 10 minutes, up to five logins started at the same time). The Assertion Consumer Service must be served over HTTPS: over plain HTTP the cookie isSite=None; Secure; Http Only nr_withsaml_ auth_ request Same, browsers do not send it with the cross-site POST of an Identity Provider on another site, and the login is then rejected.Site=Lax The cookie is host-only. The page with the plugin that starts the login and the Assertion Consumer Service URL (
sp_) must be on the same host, or the browser does not send the cookie with the response.customer_ service_ url
Example Configuration
# Service Provider Settings
Entity ID: https://your-domain.tld
Customer Service URL: https://your-domain.tld/?logintype=login
Customer Service Binding: urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST
Name ID Format: urn:oasis:names:tc:SAML:2.0:nameid-format:transient
# Identity Provider Settings
Entity ID: urn:example:idp
SSO URL: https://idp.example.com/sso
Binding: urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect
Certificate: [IDP Certificate]
# User Settings
Username Prefix: sso-
User Folder: [Select frontend user folder]
User Groups: [Select default frontend user groups]