- Qubitara Central
- Concepts
- How SAML works in Central
How SAML works in Central
SAML 2.0 is the protocol Qubitara Central uses to sign people in to applications. Central acts as the identity provider: it authenticates the person, then sends the application a signed XML statement, the assertion, saying who the person is and what attributes they carry. This page follows one sign-in from start to finish and explains what each value on the SSO Config screen is for.
The sign-in flow#
The person opens the application, or clicks its tile in the App Launcher.
For an SP-initiated sign-in, the application builds a SAML request naming itself and redirects the browser to Central's SSO URL. For an IdP-initiated sign-in from the App Launcher, Central skips the request and starts at step 4.
Central receives the request and looks up the application by the SP Entity ID in the request.
Central authenticates the person: password or passkey, then MFA, then every Adaptive Auth and Conditional Access policy that applies. If the person is not in a group on the application's Access Policy, Central stops here.
Central builds the assertion, signs it with its X.509 signing certificate, and posts it to the application's ACS URL.
The application checks the signature against the certificate it holds for Central, checks that the assertion's Audience equals its own Entity ID, and checks that the current time is inside the assertion's validity window.
The application matches the Name ID in the assertion to one of its accounts and signs the person in.
What each identity provider value is for#
These values are the same for every Central tenant and are pasted into every application. They are listed as copy-able blocks on SAML identity provider values.
Value | Address | What the application does with it |
|---|---|---|
SSO / Sign-on URL |
| Where the application sends the person to sign in (step 2). |
Single Logout URL |
| Where the application sends a logout request so Central can end the session. |
IdP Entity ID / Issuer |
| The name Central puts in the |
Metadata URL |
| An XML document containing all of the above plus the certificate. Applications that accept a metadata URL configure themselves from it. |
Name ID format |
| Tells the application that the subject of the assertion is the person's email address. |
What the application's values are for#
Each application gives you two values that go into Central's SP Configuration:
Value | Where it appears | What Central does with it |
|---|---|---|
SP Entity ID / Audience URI | The application's SAML settings, often labelled Entity ID, Audience or Identifier | Central puts it in the assertion's |
ACS URL | Often labelled Assertion Consumer Service URL, Reply URL or Callback URL | Where Central posts the signed response (step 5). |
The optional fields on the same screen, IdP Metadata URL (auto-configure), SLO URL and SP signing certificate, are only needed when the application publishes metadata, supports single logout, or signs its own requests.
The role of the signing certificate#
Central signs every assertion with the private key of its X.509 signing certificate. The application holds the public certificate and rejects any assertion whose signature does not verify. This is what stops anyone else from forging a sign-in, so the certificate is the one value you must copy exactly, and the one value that must be updated everywhere when it is rotated. See Certificate and secret rotation.
Download the certificate from the SSO Config screen as .pem, .cer or Metadata.xml.
Attribute statements#
Besides the Name ID, an assertion carries attribute statements: named values about the person. The SAML attribute statements table on the SSO Config screen decides what is sent.
Attribute name sent | Value template | Typical use in the application |
|---|---|---|
|
| Matches or creates the account |
|
| Display name |
|
| First name |
|
| Last name |
|
| Role or team mapping inside the application |
Several names map to the same value because different applications expect different names for the same thing; sending all of them costs nothing. Add a row for any custom attribute defined under Identity → Custom Attributes, for example department mapped to {user.department}. A missing attribute the application requires is the most common cause of a sign-in that reaches the application and then fails; see SAML errors.
Related#
How SCIM works in Central: the account lifecycle that SAML relies on.
Add a custom SAML application: the procedure that uses these values.
SAML 2.0 SSO: the protocol reference.
SAML errors: what to check when a step above fails.