Configure an SSO Identity Provider
Configure attendee portal login with SAML 2.0 or OpenID Connect (OIDC). A team owns the provider configuration; each portal installs an SSO Login authentication method that references it. The identity-provider callback runs on the platform's shared authentication host, then returns the attendee to the originating portal.
This guide describes the reviewed platform source. Confirm your environment has the same controls and protocol support before configuring your IdP. An administrator dashboard account and an attendee portal account are separate identities.
Permissions and prerequisites
You need access to the team's settings, view_sso_providers to inspect providers and manage_sso_providers to manage them. Non-super administrators can manage providers belonging to their current team when granted those permissions. The global SSO Providers navigation entry is for super administrators.
The permission catalog defines view_project_portal_authentication_methods / manage_project_portal_authentication_methods for portal attachment, alongside portal/project access. The current portal editor places its Attendee Authentication controls inside a super-admin condition: if those controls are absent, have the platform administrator attach/configure the method. Granting a permission alone does not guarantee a control appears in that UI. Ordinary-account HTTP authorization still needs acceptance in your deployment.
Have the following ready:
- The intended project and portal, an active domain and the actual portal URL.
- An IdP administrator who can register an application and provide its protocol settings.
- At least one project attendee type for SSO auto-creation, or existing attendees with valid contact emails.
- A decision about auto-creation, permitted email domains and login allow/block groups.
- The environment's shared authentication hostname. Copy the platform's generated metadata/URLs; do not substitute the attendee portal's hostname for the IdP callback host.
Create the team provider
Open Team Settings → SSO Providers. Create a configuration or expand/edit an existing row. A super administrator can also use the global provider index/details page.
| Control | Configure |
|---|---|
| Name | An internal label that identifies the IdP and intended audience |
| User Type | Attendee ( Portal ) for this flow |
| Provider Type | SAML 2.0 or OpenID Connect (OIDC) |
| Active | Enable for discovery and intended use; see the revocation limitations below |
| Login Button Text | Required provider label; review the portal method's Button Text too |
| Create New Attendee | Whether SSO may create a missing project attendee |
| Allowed Email Domains | Optional exact email domains; an empty list adds no domain restriction |
| Field Mapping | IdP attribute/claim name → attendee system field |
Team and Subscription Mask assignment controls are for super administrators. A provider may be unavailable in a portal selector because of team, active-state or dashboard-mask filtering.
The UI also displays Description, but the reviewed provider model/controller do not persist it through their create/update contract. Use Name for identification. Session Duration (seconds) is stored, but the reviewed SAML/OIDC and signed-login handlers do not use it to expire the attendee browser session. Verify actual portal session expiry separately instead of relying on that field.
Provider index and detail handoff
The dashboard provider index is /{team}/sso-providers. Its rows identify Name, User Type, IdP Entity ID and SSO URL; open the returned provider link for Settings, or use the supported Team Settings provider controls. The global navigation entry is super-admin-visible but targets this team-context controller, distinct from the /system route group. Navigation metadata calls the component Admin/SSO/Index; the current controller renders Admin/SsoProviders/Index and its detail counterpart. Use the actual route/returned resource link when integrating navigation.
The controller registers resource authorization around index/detail/create/update/delete, including its normal JSON responses. Non-super-admin creation forces the current team; updates ignore a submitted reassignment to another team. Record-specific view/update/delete policies require the applicable permission and current-team ownership for an ordinary administrator. These checks differ from simply hiding the global menu. Verify allowed and denied team/resource cases in the deployed environment rather than inferring access from menu visibility or a successful provider save.
After changing Settings, inspect the persisted provider and the portal's selected method. A saved/active provider, generated metadata or visible login button does not prove valid IdP claims, attendee creation, group admission, session lifetime or logout. Run the acceptance matrix below through the real originating portal, including failure and revocation cases, before treating the integration as ready.
Configure SAML 2.0
Create/save the SAML provider first, then open its Service Provider (SP) Configuration. The platform generates SP Metadata URL and SP Entity ID, plus its SP certificate. Share the metadata with your IdP administrator.
The metadata contains the HTTP-POST Assertion Consumer Service (ACS) URL and a Single Logout (SLO) URL. Register the actual SP Entity ID/audience and ACS values from that metadata. The metadata advertises unsigned authentication requests and asks for signed assertions; check compatibility with your IdP's signing policy.
Complete Identity Provider (IdP) Configuration:
| Control | Value |
|---|---|
| IdP Entity ID | The IdP identifier supplied by its administrator |
| IdP SSO URL | The IdP's login endpoint for the selected request binding |
| IdP SSO Binding | HTTP-Redirect (default) or HTTP-POST, matching that endpoint |
| IdP Certificate | The IdP's public X.509 signing certificate |
| URL Scheme | Keep the deployment's HTTPS configuration; this field does not rewrite the shared-host URLs generated by the reviewed SAML services |
The IdP fields can be saved incompletely while exchanging metadata, but login needs a usable endpoint and signing certificate. The SAML service rejects missing/unusable certificates and responses without a verifiable signature. It can decrypt encrypted assertions using the generated SP private key. Share public metadata/certificates with the IdP; keep private keys out of app bundles and documentation.
The request binding and ACS response binding are separate: choosing HTTP-Redirect sends the login request in a redirect query; HTTP-POST sends it through a form. The advertised ACS still receives the SAML response by POST.
The reviewed SLO handler logs out the portal guard and redirects. It does not implement a complete federated logout exchange or promise to end the IdP session. Test portal logout and IdP session behavior independently.
Configure OpenID Connect
Choose OpenID Connect (OIDC), then set:
| Control | Value |
|---|---|
| Issuer URL | The IdP's exact OIDC issuer, rather than its login page or authorization endpoint |
| OAuth Client ID | The client registered by the IdP administrator |
| OAuth Client Secret | Its server-side secret; the platform stores it encrypted and omits it from provider responses |
| Trust Unverified Emails | Leave off unless your identity owner approves treating that IdP as authoritative without its verification claim |
Register this exact redirect URI with the client, substituting the environment's actual shared authentication host:
https://YOUR_AUTH_HOST/oidc/callback
This is a fixed shared callback, rather than a separate callback per portal. The platform requests openid email profile, exchanges the authorization code and obtains identity claims from the discovered UserInfo endpoint. The current implementation uses that code/UserInfo path; this guide does not claim separate ID-token/JWT/nonce validation.
The issuer must provide a discovery document at ISSUER/.well-known/openid-configuration with matching issuer, authorization_endpoint, token_endpoint and userinfo_endpoint values. Discovery is cached for up to a day. A provider change at the IdP can therefore need cache expiry or an operator-managed refresh; repeatedly changing an attendee page slug will not repair it.
For Google, use https://accounts.google.com. Blank client values use the platform's configured Google client only for that issuer; they do not create credentials automatically. Other issuers require their own credentials. A blank secret on provider update retains the current secret. To rotate it, submit the intended replacement through the administrator's secure configuration flow.
With Trust Unverified Emails off, a missing or false email_verified claim denies login. IdPs differ in their returned claims, so verify the real response and trust policy during acceptance. For vendor setup, consult Google's OIDC client/redirect guidance and Microsoft's UserInfo/claim guidance. Those sources describe their IdPs; they do not establish GxP deployment acceptance.
Claims, attendee matching and creation
SSO requires a valid email in a recognized identity attribute. Common aliases include email, mail, emailAddress, standard SAML email-claim URIs, and an email-shaped SAML NameID. Attribute names are matched case-insensitively. Custom Field Mapping applies after this email lookup; mapping an arbitrary claim to Contact Email does not make that claim the lookup identifier.
The service searches the originating project by contact email, case-insensitively. IdP authentication alone does not select an attendee from another project. Maintain unique contact emails where possible. With duplicates, a blocked duplicate can deny the entire email identity; otherwise group eligibility, prior provider/portal login and record order resolve the match. Do not use shared email addresses to represent independently authorized people.
For a missing attendee:
- Create New Attendee off: deny login without creating a record.
- Create New Attendee on: create an attendee using the project's lowest-ID attendee type after excluding the Global Settings template/sentinel, apply mapped fields, evaluate the method's group restrictions and admit or deny accordingly. The reviewed query orders by database ID, not the dashboard display order or a configurable default selector; without a matching type, this creation path returns no attendee.
A newly created attendee remains in the project even if the group check denies login. Creation can trigger attendee lifecycle processing. This SSO setting is separate from the portal's general auto-register setting, which does not override provider-controlled creation.
Default mapping recognizes common first/last-name claims, with a display-name fallback. Custom mappings can populate the exposed attendee system fields. Existing attendees receive missing first/last-name backfill; SSO is not a general profile synchronization/import job that overwrites every field at each login.
Attach the provider to a portal
In the intended Project → Portals → portal → Advanced Settings, open the supported Attendee Authentication editor with an authorized administrator:
The platform's global method catalog must offer SSO Login first. If that type is missing, have a super administrator open Attendee Authentication Methods, select the entry with Key sso_login, and check Settings → Active and its Subscription Mask. This platform-wide setting controls availability across portals; it is separate from the provider's Active setting and the individual portal method's Active setting. Enable the portal row only after the catalog entry is available for that portal's mask.
- Add an Authentication Method with type SSO Login.
- Select the SSO Provider, review Internal Name and Button Text, and enable the method's Active setting.
- Configure Allow List Groups and Block List Groups from that project.
- Save, verify its priority among the portal's methods, and reload the actual attendee login page.
The provider and the portal method are distinct records. The portal method's Button Text can determine the visible label. Provider selection is limited by the current team/mask's active-provider list; save/reload after changing provider state or visibility.
Allow-list membership is required when the allow list is nonempty. Block-list membership denies login even when an attendee also belongs to an allowed group. Empty lists add no group restriction. SSO can auto-create before these checks; ordinary non-SSO auto-registration is disabled when allow/block lists are configured.
When SSO creates an attendee and the lists contain dynamic groups, it evaluates their membership during creation. The supported recovery path also reconciles a previously unsynced attendee; it does not recalculate every existing dynamic membership on every login. Verify membership after changing group criteria or attendee data. A failed in-request membership evaluation denies login rather than treating unverified membership as allowed.
Login restrictions govern entry to the portal session. Page/link audiences and dependency permissions still govern the content and API operations reachable afterwards. Use portal configuration for those separate controls.
Browser return path and application integration
Start SSO from the portal's login button. The platform sends the provider UUID and originating host to its shared authentication service. Origin state is kept server-side for ten minutes, then the verified identity returns through a signed portal-login link valid for five minutes. The signed-link handler verifies project context, rechecks the active SSO method/group rules and prevents reuse of that bridge URL.
OIDC consumes its state once and rejects missing, expired or replayed state. SAML can fall back to a provider's sole active portal-method attachment when no originating state resolves; multiple candidate attachments make that fallback ambiguous. Use a portal-initiated login when sharing one provider across portals. Do not describe consuming SAML origin state as complete assertion replay protection.
The native login UI redirects to /saml/PROVIDER_UUID/login or /oidc/PROVIDER_UUID/redirect on the shared authentication host. SSO is a browser flow. The current generic /auth/sso-login factory has no implemented provider-specific methods, so it is not a working token/code exchange alternative. A portal session also does not automatically issue the individual bearer needed by an external API client; use the separately supported attendee authentication contract.
Revocation and current limitations
The provider's Active toggle removes it from active discovery; OIDC also checks active state and attendee user type at initiation/callback. The reviewed SAML service loads by UUID without those same provider active/type predicates. To prevent new SAML logins, disable/remove the referencing portal SSO methods and verify denial at the actual endpoints; do not rely on the provider toggle alone. This does not revoke sessions already established.
The global method catalog's Active setting controls configuration/discovery availability. The reviewed SAML callback query does not check that catalog flag either, so switching it off alone does not establish denial of a direct callback for an existing active portal method.
The reviewed SAML processing verifies signatures, but does not explicitly enforce assertion time conditions/audience or maintain an assertion-ID replay cache in that service. Treat expired, wrong-audience and replayed assertions as required negative acceptance/follow-up cases before relying on those guarantees. These documented source limitations are not fixes or a protocol security certification.
Acceptance and troubleshooting
Test with the intended IdP, shared host and final portal domains. Local source tests with a stubbed IdP do not prove this live round trip.
| Check | Expected result / diagnosis |
|---|---|
| Provider absent from selector | Check current team, Active and subscription-mask visibility; an ordinary administrator may lack the portal editor controls |
| SSO Login missing from Authentication Method types | Have a super administrator check the global Attendee Authentication Methods → sso_login → Settings → Active and Subscription Mask |
| Login button absent | Check the individual portal method's Active state, global sso_login catalog availability, selected provider, priority and actual theme/login surface |
| SAML cannot initiate | Verify the selected IdP endpoint and request binding |
| SAML signature rejected | Verify the IdP signing certificate and signature; update the stored public certificate after IdP rotation |
| OIDC redirect URI mismatch | Register the exact shared-host callback against the client actually used |
| OIDC discovery/token/UserInfo error | Verify issuer, discovery fields, client credentials, provider availability and deployed service/network access |
| OIDC account denied | Check verified-email policy, recognized email, email-domain allowlist, auto-creation and groups |
| Known attendee denied | Check project/contact email, duplicates, block groups, allow groups and current dynamic membership |
| New record exists but login denied | Creation succeeded; group eligibility failed. Review the record before retrying or changing access |
| Return goes to an unexpected portal | Start from the intended active domain and check provider attachments/default domain; test multiple domains and deep links |
| Expired/reused browser bridge | Start a fresh login from the portal; signed bridge links last five minutes and are single-use |
| Session lasts beyond provider duration field | That field does not enforce session expiry in the reviewed handlers; inspect the actual portal/session policy |
Verify a permitted existing attendee, an eligible newcomer, auto-creation disabled, a blocked member, someone outside a required allow group, a different project, cancelled login, expired/replayed state and a repeated signed bridge. For SAML include unsigned/tampered, expired, wrong-audience and replayed assertions; record failures instead of marking them as passed. Verify logout and an already-established session after disabling a method separately.
Source evidence
Reviewed Experience Portal commit cf14089eb3a144903158e5fa8825cb3d80debefe: SsoProvider/model/controller/policy and dashboard field definitions; SAML/OIDC/shared attendee services; metadata and signed-login handlers; portal authentication-method configuration, groups and route definitions. The repository audit records executed checks and their dependency/environment limits. Live IdP, session-expiry, revocation and protocol-negative acceptance remain required.