Single Sign-On (SSO) lets Creators and end-users authenticate through an external identity provider instead of managing separate Unqork credentials. This guide provides an overview of SSO in Unqork, supported protocols, and the setup process for both Designer and Express domains.
What Is SSO?
Single Sign-On (SSO) delegates authentication to an external identity provider (IdP) like Okta, Microsoft Entra ID, or Google Workspace. When Creators and end-users access Unqork, they authenticate through the IdP, which confirms their identity and provides identity information to Unqork. This eliminates the need for separate Unqork passwords and centralizes authentication in your organization's existing identity system.
Benefits of SSO
- Centralized authentication: Creators and end-users authenticate once through your organization's IdP to access multiple applications.
- Improved security: Password policies and multi-factor authentication are managed centrally at the IdP level.
- Simplified account management: Accounts and permissions are controlled through the IdP, reducing manual administration.
- Better sign-in experience: Creators and end-users sign in with credentials they already use for other corporate applications.
SSO Domains in Unqork
Unqork separates SSO configurations into two domains, each controlling authentication for either Creators or end-users.
Designer SSO
Controls how Creators authenticate.
Use Designer SSO when the following apply:
- You want Creators to sign in through your organization's identity provider.
- You need to enforce centralized password policies for Creators.
- You want to integrate Creator authentication with Active Directory or another enterprise system.
Example: A development team authenticates through Okta to access Module Builder and manage applications.
Express SSO
Controls how end-users authenticate.
Use Express SSO when the following apply:
- Your application serves internal employees who already authenticate through an IdP.
- You want to provide seamless access to applications without requiring separate credentials.
- You need to enforce organizational authentication policies for end-users.
Example: Employees authenticate through Microsoft Entra ID to access a claims processing application built in Unqork.
Independent Configurations
Designer and Express SSO configurations are independent. You can do any of the following:
- Configure SSO for Designer only. Creators use SSO and end-users use Unqork credentials.
- Configure SSO for Express only. End-users use SSO and Creators use Unqork credentials.
- Configure SSO for both domains. Both Creators and end-users use SSO.
- Use different identity providers for each domain.
Supported SSO Protocols
Unqork supports two SSO protocols: SAML 2.0 and OpenID Connect (OIDC). Both protocols let an identity provider verify identity, but use different technical approaches.
SAML 2.0
What it is: Security Assertion Markup Language (SAML) is an XML-based standard commonly used in enterprise environments. When a Creator or end-user authenticates, the IdP generates a signed XML document called an assertion and sends it to Unqork.
SAML configuration requires the following:
- IdP metadata XML document.
- X.509 certificate for signature verification.
- Service Provider (SP) entity ID.
Use SAML in the following cases:
- Your IdP is an enterprise system like Active Directory Federation Services (ADFS).
- Your organization already uses SAML for other applications.
- Your IdP provides an XML metadata document.
Example providers: Active Directory Federation Services (ADFS), Okta (SAML application), Ping Identity, OneLogin (SAML)
OpenID Connect (OIDC)
What it is: OpenID Connect (OIDC) is a modern authentication protocol built on OAuth 2.0. Instead of XML assertions, the IdP returns JSON Web Tokens (JWTs) containing identity claims.
OIDC configuration requires the following:
- Discovery URL or issuer identifier.
- Client ID.
- Client secret.
Use OIDC in the following cases:
- Your IdP is a cloud-based system like Google Workspace or Auth0.
- Your organization prefers modern cloud-native protocols.
- Your IdP provides a discovery URL.
Example providers: Google Workspace, Auth0, Okta (OIDC application), Microsoft Entra ID (OIDC endpoint)
SAML vs. OIDC Comparison
| SAML 2.0 | OIDC | |
|---|---|---|
| Data format | XML assertions | JSON Web Tokens (JWTs). |
| Configuration complexity | Higher (metadata exchange) | Lower (discovery URL). |
| Best for | Enterprise identity providers | -based identity providers. |
| Setup process | Exchange metadata XML | Provide discovery URL, client ID, and secret. |
| Token format | Signed XML | Signed JWT. |
| Additional security | Signed requests, encrypted assertions | PKCE (Proof Key for Code Exchange). |
SSO Setup Process
Setting up SSO involves configuration in both your identity provider and Unqork. The exact steps vary by protocol and provider, but the general process has the following stages.
1. Prepare Your Identity Provider
Before configuring SSO in Unqork, prepare your identity provider by completing the steps for your protocol.
For SAML, complete the following steps:
- Create a new SAML application in your IdP.
- Configure the application with Unqork's SP metadata URL (provided in Unqork).
- Download or copy the IdP metadata XML document.
- Note the SSO URL, certificate, and NameID format.
For OIDC, complete the following steps:
- Register Unqork as a new application in your IdP.
- Note the client ID and client secret.
- Copy the discovery URL or issuer identifier.
- Configure the redirect URI (provided in Unqork).
2. Configure SSO in Unqork
Navigate to
-
On the Express or Designer tab, select Create Express SSO Configuration or Create Designer SSO Configuration.
-
Provide a unique name for the configuration.
-
Select the protocol (SAML or OIDC).
-
Enter the protocol-specific settings:
- SAML: Paste the IdP metadata XML. The SSO URL, certificate, and NameID format fill in from the XML.
- OIDC: Enter discovery URL, client ID, and client secret.
-
Configure attribute mappings (map IdP claims to Unqork attributes).
-
Select a default role. Unqork assigns it at login to a user who is not already assigned a role.
-
(Optional) Select Show Advanced Settings to configure PKCE, signed requests, or encrypted assertions.
-
Select Create SSO Configuration.
3. Map User Attributes
Attribute mapping connects information from your IdP to Unqork accounts. At minimum, map one unique identifier.
Common mappings include the following:
- Email address:
{{ email }}→email. - User ID:
{{ NameID }}→userId(SAML) or{{ sub }}→userId(OIDC). - Display name:
{{ displayName }}→name.
Express configurations can also include the following mappings:
- Role membership: Map IdP group claims to Express roles. To turn group claims into role names with templates, see Advanced SSO Attribute Mapping with Nunjucks.
- Organization: Map department or division to custom attributes.
4. Test the Configuration
After saving, test the SSO configuration before turning it on for all Creators and end-users:
- Navigate to the Single Sign-On (SSO) page.
- Select the actions menu for the configuration, then select Preview to open the SSO login flow in a new tab.
- Authenticate through the IdP.
- Verify that authentication succeeds and user attributes are mapped correctly.
- Check that the default role is assigned.
5. Enable for Users
Once tested, enable the SSO configuration:
For Designer SSO, take the following actions:
- Inform Creators that they can now sign in through SSO.
- Provide the SSO login URL or direct them to the login page.
- Creators can choose between SSO and standard login, unless standard login is disabled.
For Express SSO, take the following actions:
- Configure modules to require SSO authentication.
- Update application login flows to redirect to the SSO endpoint.
- End-users authenticate through the IdP when accessing the application.
User Lifecycle Management
SSO configurations control how accounts are created and matched.
User Creation
Automatic creation: By default, when a Creator or end-user authenticates through SSO for the first time, Unqork creates a new account with the following:
- Attributes mapped from IdP claims.
- The default role assigned in the SSO configuration.
- Default groups, for Express configurations only.
Disable User Creation sets the kind of account. When checked, which is the default, Unqork saves the user's attributes and roles without creating an Unqork login. The API cannot modify these users. When unchecked, Unqork also creates an Unqork login, and the attribute mappings must include email.
Disable automatic creation: Check Require User Exists to restrict authentication to existing accounts. Anyone without an account is denied access.
User Matching
Unqork matches SSO logins to existing user accounts using the Match Attribute:
- Default:
NameIDfor SAML,subfor OIDC. - Custom: Set a different attribute like
emailif your IdP uses email as the unique identifier.
When a Creator or end-user authenticates, Unqork checks whether an existing account has a matching value for the match attribute. If found, that account is authenticated. If not found, Unqork creates a new account, unless automatic creation is disabled.
Security Considerations
Certificate Management
For SAML, note the following:
- The X.509 certificate verifies the authenticity of SAML assertions from the IdP.
- Store certificates in
Certificate Management . - Rotate certificates before expiration to prevent authentication failures.
For OIDC, note the following:
- OIDC uses JWTs signed by the IdP's private key.
- Unqork validates tokens using the IdP's public key from the discovery endpoint.
- No certificate management is required.
Advanced Security Options
SAML supports the following options:
- Signed AuthnRequest: Sign authentication requests when the IdP requires them.
- Encrypted Assertions: Expect encrypted assertions when the IdP sends them.
- HTTP-POST Binding: Use POST instead of redirect when the IdP does not support HTTP-Redirect.
OIDC supports the following options:
- PKCE (SHA256): Add a code challenge to the authorization flow to prevent interception attacks.
- Additional Parameters: Include custom parameters required by your IdP.
Role Assignment
Always configure a default role for Creators and end-users who sign in through SSO.
For Designer SSO, set the following:
- Assign a Creator role that grants appropriate resource permissions.
- Default: Environment:BASIC, which grants basic Creator access.
- Consider workspace roles for fine-grained access control.
For Express SSO, set the following:
- Assign an Express role that controls application and data access.
- Default: NoAccess, which denies access until granted.
- Map IdP groups to Express roles for dynamic permission assignment.
Troubleshooting Common Issues
SAML Metadata Parsing Fails
Cause: Invalid or incomplete IdP metadata XML.
To resolve the issue, use the following actions:
- Verify the metadata XML is complete and not truncated.
- Manually enter the NameID format, SSO URL, and certificate if auto-population fails.
- Check for special characters that might break XML parsing.
OIDC Discovery URL Not Found
Cause: Incorrect discovery URL or network access issue.
To resolve the issue, use the following actions:
- Verify the discovery URL ends with
/.well-known/openid-configuration. - Test the URL in a browser to confirm it returns a JSON discovery document.
- Check firewall rules if Unqork cannot reach the URL.
User Not Created on First Login
Cause: Require User Exists is enabled, or attribute mapping is incorrect.
To resolve the issue, use the following actions:
- Verify Require User Exists is unchecked if automatic user creation is desired.
- Check attribute mappings to ensure the match attribute is populated correctly.
- Review IdP claims to confirm the expected attributes are present.
Authentication Succeeds but Wrong Role Assigned
Cause: Default role in SSO configuration does not match expected permissions.
To resolve the issue, use the following actions:
- Edit the SSO configuration and update the default role.
- For Express, verify the role exists in Express Role Administration.
- For Designer, verify the Creator role exists in Creator Role Administration.
Next Steps
After reading this overview, take the following steps:
- Review SSO concepts: See SSO Concepts for detailed terminology and protocol explanations.
- Configure SSO: See Single Sign-On Management for step-by-step configuration instructions.
- Manage certificates: See Certificate Management for storing SAML certificates.
- Assign roles: See Express Role Administration (Express) or Creator Role Administration (Designer).
Changelog
| Date | Change |
|---|---|
| 2026-07-10 | Initial publication. |
| 2026-11-19 | Added a link to the Advanced SSO Attribute Mapping with Nunjucks article. Aligned the navigation , create buttons, SAML metadata fields, default role, advanced settings, and common mappings with the 9.2 form. Replaced "users" with Creators and end-users, and fixed list intros and See Also format. |