Configuration Reference 

SAML Settings Record Fields 

name
Type
string
Required

true

A descriptive name for this SAML configuration.

sp_entity_id
Type
string
Required

true

The unique identifier for your Service Provider (typically your domain URL).

sp_customer_service_url
Type
string
Required

true

The Assertion Consumer Service URL where SAML responses are received.

sp_customer_service_binding
Type
string
Default
urn:oasis:names:tc:SAML:2.0:bindings:HTTP-POST

The binding method for the ACS endpoint.

sp_name_id_format
Type
string
Default
urn:oasis:names:tc:SAML:2.0:nameid-format:transient

The format for the Name ID in SAML assertions.

sp_cert
Type
text

The Service Provider's public certificate (PEM format).

sp_key
Type
text

The Service Provider's private key (PEM format).

idp_entity_id
Type
string
Required

true

The unique identifier of the Identity Provider.

idp_sso_url
Type
string
Required

true

The Single Sign-On URL of the Identity Provider.

idp_sso_binding
Type
string
Default
urn:oasis:names:tc:SAML:2.0:bindings:HTTP-Redirect

The binding method for the SSO endpoint.

idp_logout_url
Type
string

The Single Logout URL of the Identity Provider.

idp_cert
Type
text
Required

true

The Identity Provider's public certificate for validating responses.

username_prefix
Type
string

Optional prefix for usernames created via SAML authentication.

users_pid
Type
int
Required

true

The page ID (folder) where new users will be created.

usergroup
Type
string

Comma-separated list of user group UIDs assigned to new users.

allow_idp_initiated
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 nr_saml_auth_request (SameSite=None; Secure; HttpOnly, valid for 10 minutes, up to five logins started at the same time). The Assertion Consumer Service must be served over HTTPS: browsers do not send this cookie with the Identity Provider's cross-site POST over plain HTTP, and the login is then rejected.

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]
Copied!