Skip to content
Docs
Qubitara Central

Add a custom SAML application

Updated Version 1CENTRAL-84

Connect an application that is not in the catalog so that people sign in to it through Qubitara Central with SAML 2.0. The procedure is the same for a SaaS product without a template and for an in-house application built on a SAML library such as python3-saml, passport-saml or Spring Security SAML.

Before you start#

  • A role that can manage applications, under Access → Applications.

  • Administrator access to the application's SAML settings, or the developer who owns them.

  • The application must support SAML 2.0 as a service provider and accept a configurable identity provider. If it only accepts a fixed list of identity providers, choose the option named generic, custom or "Other".

  • A test user and a test group in Central; see Quickstart Steps 1 and 2.

Step 1: Add the application in Qubitara Central#

  1. Go to Access → Applications → Add Application.

  2. On Choose App, select Custom Application and click Next.

  3. On Basic Setup, enter the name, an optional logo and description, and the Login URL (the application's sign-in page). Click Next.

  4. On SSO Config, leave SAML selected and download the signing certificate as .pem. Leave the SP fields for Step 3 and click Next; if the wizard insists on an ACS URL, enter a temporary value and correct it in Step 3.

  5. On Provisioning, choose SSO Only and click Next.

  6. On Review, click Activate.

Expected result: the application is listed under Access → Applications with status Active.

Step 2: Paste Central's identity provider values into the application#

Give the application, or its developer, the values below. If the application accepts a metadata URL, that single value replaces the rest.

Copy this value from Central (SSO Config, Qubitara IdP values)

Paste it into the application's SAML settings, usually labelled

Metadata URL: https://central.qubitara.com/auth/saml-idp/metadata

Identity provider metadata URL (if offered; configures everything below automatically)

SSO / Sign-on URL: https://central.qubitara.com/auth/saml-idp/sso

Identity provider sign-in URL, SSO URL, SAML endpoint, or entryPoint in passport-saml

IdP Entity ID / Issuer: https://central.qubitara.com/auth/saml-idp/metadata

Identity provider issuer, entity ID, or issuer

Single Logout URL: https://central.qubitara.com/auth/saml-idp/slo

Sign-out URL, SLO URL, or logoutUrl

X.509 signing certificate (contents of the downloaded .pem)

Identity provider certificate, public key, or cert

Name ID format: urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress

NameID format, or identifierFormat

Save in the application. It now displays, or its developer can tell you, its own service provider values.

Expected result: the application reports its identity provider as configured and shows an Entity ID and an ACS URL.

Step 3: Paste the application's service provider values into Central#

  1. In Central, open the application and click Configure → under SSO.

  2. Under SP Configuration (Service Provider), enter:

Copy this value from the application

Paste it into Central (SSO Config, SP Configuration)

Entity ID, Audience, Identifier, or audience in the library

SP Entity ID / Audience URI

ACS URL, Reply URL, Callback URL, or callbackUrl

ACS URL

SP metadata URL, if the application publishes one

IdP Metadata URL (auto-configure)

Single logout URL, if the application supports SLO

Single Logout URL (SLO)

The application's signing certificate, only if it signs its requests

SP Signing Certificate

  1. Set Name ID Format to EmailAddress, or to Persistent if the application matches on a stable opaque identifier rather than an email address.

  2. Save.

Expected result: the application header in Central reads Healthy.

Step 4: Map attributes#

  1. On the same SSO Config screen, review the SAML attribute statements table. The defaults send email, name, displayName, givenName, firstName, lastName, familyName, surname and groups.

  2. Rename or add rows to match the attribute names the application expects. For example, an application that expects mail needs a row mail mapped to {user.email}.

  3. For a custom attribute, define it first under Identity → Custom Attributes, then add a row such as department mapped to {user.department}.

  4. Save.

Expected result: every attribute the application documents as required has a row in the table.

Step 5: Create a test user and assign access#

  1. Go to Identity → Groups → Create group and name it, for example, Custom App Users.

  2. Go to Identity → Users, create or open [email protected], and add her to the group.

  3. If the application does not create accounts at first sign-in, create [email protected] in the application as well.

  4. Open the application in Central, go to Access Policy → Manage Access, choose Group-based, add Custom App Users, and save.

Expected result: the tile appears in Jane's App Launcher.

Step 6: Test#

  1. SP-initiated: in a private browser window open the application's sign-in page, choose single sign-on, and sign in as [email protected] at Central.

  2. IdP-initiated: sign in to Central as Jane and click the tile in the App Launcher.

  3. To inspect what was sent, use a browser SAML tracer extension and decode the response.

Expected result: both routes sign Jane in. In the decoded assertion, Audience equals the SP Entity ID, Issuer equals https://central.qubitara.com/auth/saml-idp/metadata, the NameID is [email protected], and every mapped attribute is present.

Troubleshooting#

Symptom

Cause

Fix

The application rejects the response with an audience or entity ID error

The SP Entity ID in Central does not match the application's value character for character

Copy the value again, watching for a trailing slash or http versus https.

Signature verification fails

The certificate in the application is out of date or incomplete

Re-download the .pem from Central and paste the whole file, including the BEGIN and END lines.

The application says the user was not found

Name ID format or value does not match an account

Set Name ID Format to EmailAddress and confirm the email in both systems is identical.

The application signs in but shows no name or role

A required attribute is missing or named differently

Add the row to the attribute statements table with the exact name the application expects.

Central shows an "application not found" page after redirect

The application's request names an Entity ID that Central does not know

Enter the Entity ID from the request in SP Configuration.

For the full catalog, see SAML errors.

Related#