Skip to content

SSO (SAML, OIDC)

Enterprise

Enterprise hubs can let participants sign in through your organisation’s identity provider (IdP), and can require it. Fanzava supports SAML 2.0 and OpenID Connect (OIDC). Everything below is set up from Admin → Settings → Single sign-on, unless the section says otherwise.

Talk to our team about setting up SSO on an Enterprise plan.

Fanzava has tested and documented integrations with:

  • Okta: SAML 2.0 and OIDC
  • Microsoft Entra ID (Azure AD): SAML 2.0 and OIDC
  • Google Workspace: SAML 2.0
  • OneLogin: SAML 2.0
  • Auth0: OIDC
  • Any standards-compliant SAML 2.0 or OIDC provider

If your provider isn’t listed, contact your account manager. Most standards-compliant providers integrate with no additional work.

Protocol When to use
SAML 2.0 Your IdP is built around SAML (Okta, Entra ID, OneLogin, Google Workspace). Most common for enterprise.
OpenID Connect (OIDC) Your IdP supports OIDC. Fanzava discovers the endpoints from your issuer URL, so there is less to enter.

Fanzava does not offer a plain OAuth 2.0 connection. If your provider supports only OAuth without OIDC, talk to our team.

Step 1: Get Fanzava’s service provider details

Section titled “Step 1: Get Fanzava’s service provider details”
  1. Go to Admin → Settings → Single sign-on and choose Configure SSO
  2. From Service Provider Details, copy the Entity ID / Identifier and the ACS URL. The same card shows Fanzava’s Metadata URL, which most IdPs can read instead, and the SLO URL for Single Logout

In your IdP, create a new SAML application:

  • Entity ID / Audience: paste Fanzava’s Entity ID
  • ACS URL / Reply URL: paste Fanzava’s ACS URL
  • Name ID format: Email address
  • Signature algorithm: RSA-SHA256 (minimum)
  • Sign assertions: required
  • Attribute mapping: email → email, given_name → first name, family_name → last name

To put people in hub groups automatically, also send a group attribute. See Just-in-time provisioning.

Back on the Configure SSO form, with SAML 2.0 selected:

  1. Give the connection a Connection Name (for example, Okta)
  2. Enter your IdP’s IdP Entity ID and SSO URL, and paste its X.509 Certificate
  3. Optionally switch on Sign authentication requests (you supply the key pair) and Require encrypted assertions (you supply the decryption key). Ask your IdP to use RSA-OAEP: RSA PKCS#1 v1.5 key transport is refused
  4. Choose Save Configuration, then Test Connection
  5. Switch on Enable SSO. A connection cannot be enabled until a test has passed

SSO starts out optional: members can still sign in with email. To require it, see Enforcement modes.

  1. Go to Admin → Settings → Single sign-on, choose Configure SSO and select OpenID Connect
  2. Register Fanzava in your IdP using the OIDC redirect URI (callback) shown on the page. For Microsoft Entra ID, the form has a preset: enter your tenant’s GUID or verified domain (not common or organizations)
  3. Enter your IdP’s Issuer URL, Client ID and Client Secret. Fanzava discovers the endpoints from the standard /.well-known/openid-configuration document
  4. Choose Save Configuration, then Test Connection
  5. Switch on Enable SSO

PKCE is always used and cannot be turned off.

Mode Behaviour
Optional The default. Participants can use either Fanzava’s email sign-in or SSO. Useful during rollout or for hubs with a mix of internal and external participants.
Required Members on your allowed email domains must sign in through your IdP.
Required with admin bypass As Required, except for a list of named admin email addresses, which keep their other sign-in methods.

Enforcement applies only to members whose email domain is in your Allowed Email Domains list. With that list empty, a Required mode governs nobody, so set the domains before you enforce.

There is no enforcement switch in the hub admin settings. Enforcement mode, the admin bypass list and the grace period are set by our team on request, or by a hub admin through the API (PUT /api/v1/hubs/{hubId}/sso/enforcement).

Allowed Email Domains on the SSO form does two things:

  • Sign-in through your SSO connection is refused for an email address outside the listed domains (for example, acme.com, acme.co.uk)
  • It decides who enforcement applies to

Leave it empty to accept SSO sign-in from any domain, which also means no one is required to use SSO.

Most useful when:

  • Your IdP serves multiple domains and you want only a subset to reach Fanzava
  • You want to prevent external contractors with IdP access from accessing your Fanzava hub

With Auto-provision new users on first login switched on, a person who signs in through SSO for the first time gets a participant account in your hub, with no invitation needed. It is off by default: while it is off, someone who has never signed in to your hub is refused. New accounts are always members; promote people from Team & roles after their first sign-in.

Group memberships are assigned automatically from your IdP, with nothing to map in Fanzava:

  1. In your IdP, send the user’s groups in an attribute or claim named groups, group, memberOf or member_of, or the standard Microsoft or ADFS group claim
  2. Each value is matched to an existing hub group by its name (ignoring case), its slug or its external ID

If no hub group matches, the value is skipped: Fanzava never creates a hub group from an IdP attribute, so create the group in Fanzava first.

SCIM 2.0 lets your identity provider create, update and remove people in your hub directly, instead of waiting for each person’s first SSO sign-in. Your IdP calls Fanzava’s SCIM endpoint whenever someone is assigned to the Fanzava application, changes, or is unassigned.

Resource Endpoints What it does in your hub
Users /scim/v2/Users, /scim/v2/Users/{id} Creates the person’s account and hub membership, keeps their profile in step with your IdP, and removes their access when your IdP deactivates or deletes them
Groups /scim/v2/Groups, /scim/v2/Groups/{id} Places the group’s members in the hub group with the same name
Discovery /scim/v2/ServiceProviderConfig, /scim/v2/Schemas, /scim/v2/ResourceTypes Tells your IdP what the endpoint supports. These need no token, so you can read them while configuring your IdP

The base URL to enter in your IdP is https://api.fanzava.com/scim/v2. The unique identifier for a user is userName, which is their email address.

How each change lands:

  • A new user becomes a hub member straight away. JIT provisioning settings do not apply to SCIM, because your directory is explicitly asking for the account. Domain restrictions still apply: an address outside your allowed domains is refused.
  • A deactivated or deleted user loses their hub membership, admin roles and group memberships, is taken off your competitions and their leaderboards, and is signed out of every session.
  • A group is matched to an existing hub group by its name. SCIM never creates a hub group: a group in your IdP with no matching hub group is skipped. Create the group in Fanzava first, with the same name, if you want your IdP to fill it.

Issuing a SCIM token and turning provisioning on

Section titled “Issuing a SCIM token and turning provisioning on”

Your IdP authenticates with a bearer token that belongs to your hub. The token is what tells Fanzava which hub a request is for. A hub admin manages it in Admin → Settings → Single sign-on, under Directory provisioning (SCIM). You do not need an SSO configuration first.

  1. Issue a token. Under SCIM tokens, choose New token, give it a name (for example Okta production) and an expiry, or Never. Fanzava shows the token once, with the base URL beside it. It stores only a hash, so copy the token into your IdP straight away.
  2. Turn provisioning on with Provision members from your directory. Turning it off pauses provisioning without revoking any token.
  3. Configure your IdP with the base URL and the token as a bearer token.

The token list shows each token’s state (active, expired or revoked), when it was created and when your IdP last used it, never its value. Recent provisioning activity lists the 50 people your directory most recently synced, newest first, whether each is provisioned or deactivated, and the totals for the whole hub. Issuing, rotating, revoking, enabling and disabling are recorded in your hub’s audit log.

The same actions are available through the API, signed in with a hub admin’s own session: GET /api/v1/hubs/{hubId}/scim (status, base URL and tokens), POST /api/v1/hubs/{hubId}/scim/credentials (issue, with a label, optional scopes from scim.users.read, scim.users.write, scim.groups.read and scim.groups.write, all four when omitted, and an optional ISO 8601 expiresAt), PUT /api/v1/hubs/{hubId}/scim/enabled and GET /api/v1/hubs/{hubId}/scim/activity.

Provisioning comes with the Enterprise plan. On any other plan the screen is not shown, the status, activity, issue, rotate and turn-on calls answer 402, and your IdP’s requests answer 403 with the detail “Directory provisioning is not included in this hub’s plan”, so a hub that leaves Enterprise stops provisioning at once. Revoking a token and turning provisioning off work on every plan through the API.

A hub can hold several live tokens at once, so rotation has no gap:

  1. Choose Rotate on the token. Fanzava issues a new one with the same name and permissions and shows it once. The old token keeps working.
  2. Update your IdP to use the new token.
  3. Choose Revoke on the old one.

Through the API, step 1 is POST /api/v1/hubs/{hubId}/scim/credentials/{credentialId}/rotate and step 3 is DELETE /api/v1/hubs/{hubId}/scim/credentials/{credentialId}.

Fanzava supports IdP-initiated SAML Single Logout. When configured, signing out of your IdP triggers sign-out from Fanzava in the same session. Configure SLO in your IdP using the SLO URL shown under Service Provider Details in Admin → Settings → Single sign-on. It is also in Fanzava’s SAML metadata.

SLO is supported for SAML only. OIDC sessions follow the standard token-expiry model. See Sessions & tokens.

SAML signing certificates and OIDC client secrets should be rotated regularly. Fanzava recommends a 90-day rotation cadence for production deployments.

To replace a certificate or secret straight away:

  1. On Admin → Settings → Single sign-on, edit the connection and paste the new X.509 Certificate or Client Secret. A blank field keeps the current one
  2. Choose Save Configuration, then Test Connection

For a SAML certificate rotation with no gap, upload the next certificate ahead of time as a pending certificate. This is done through the API (saml_certificate_pending on the SSO configuration) or by our team; the form has no field for it. While a pending certificate is held, Fanzava accepts assertions signed with either certificate, and promotes the pending one to active once the current certificate expires or is within 24 hours of expiry.

There are two ways to keep someone able to sign in when SSO is required:

  • Admin bypass list. Under Required with admin bypass, the named admin addresses keep Fanzava’s own email sign-in (protect them with multi-factor authentication). Keep one or two senior administrators on it, so you can recover if the IdP is unavailable, your certificate expires or a misconfiguration locks out every SSO user. The list is set with the enforcement mode
  • Per-member bypass. The access recovery section of Admin → Settings → Single sign-on lists members locked out by SSO, and lets a hub admin grant one of them a time-limited bypass, or revoke it, without loosening enforcement for anyone else

Set these up before switching enforcement to Required.

When SSO is enabled or enforcement is strengthened, existing Fanzava participant accounts are linked to their SSO identity by matching email address on first SSO login. A grace period applies (30 days unless set otherwise), during which both the legacy sign-in and SSO continue to work, giving participants time to migrate cleanly.

For the full linking flow, edge cases (multiple matches, mismatched emails), and migration runbook, see Account linking & SSO migration.

Was this page helpful?

Raise a ticket about this page

Comments