Commercial plugin · for partners

Single sign-on (SAML + SCIM)

Give every customer sign-in through their own identity provider.

SAML sign-in and SCIM provisioning for each organisation, against its own identity provider: verify the email domain, require SSO for it, and let the directory add, change and remove the people.

Become a partner How to get it

The sign-in page: a work email field with a Sign in with SSO button above the email link form. The sign-in page: a work email field with a Sign in with SSO button above the email link form.

One box on the login page

Someone types a work email. Its domain finds their organisation’s identity provider, and they are on their way.

  • A native SAML 2.0 service provider inside your Worker, with no broker in between.
  • Sign-in starts from your app. IdP-initiated sign-in is there too, off by default.
  • A failed sign-in never tells the visitor which check failed; the reason goes to your logs.
The sign-in page: a work email field with a Sign in with SSO button above the email link form. The sign-in page: a work email field with a Sign in with SSO button above the email link form.

A customer’s admin sets it up in Settings

Each organisation connects its own identity provider from Settings → Single sign-on, without anyone on your team touching a config file.

  • The Entity ID, ACS URL and Metadata URL to give the provider, each with a copy button.
  • Import the provider’s metadata as XML or from an https URL, and review it before saving.
  • Up to three pinned signing certificates with their expiry shown, so a rotation has no gap.
  • A Test sign-in link, so the connection is proved before anyone depends on it.
Settings, Single sign-on: an active Okta SAML connection showing the Entity ID, ACS URL and Metadata URL, the metadata import, and a pinned signing certificate with its expiry. Settings, Single sign-on: an active Okta SAML connection showing the Entity ID, ACS URL and Metadata URL, the metadata import, and a pinned signing certificate with its expiry.

Prove the domain, then map the groups

An organisation proves it owns an email domain with a DNS record, and its directory groups decide what people can do.

  • A TXT record at _rocketflare-sso.example.com, checked over DNS-over-HTTPS.
  • One domain belongs to one organisation, and SAML signs in only addresses on a verified domain.
  • One group → role map for both SAML and SCIM. The highest role wins, and an owner stays an owner.
The connection’s Verify your domains step with one verified domain, and its Roles step mapping a Logistics Admins group to the admin role. The connection’s Verify your domains step with one verified domain, and its Roles step mapping a Logistics Admins group to the admin role.

Let the directory run the people, then require it

With SCIM on, joiners, movers and leavers follow the directory. Requiring SSO closes every other way in for that domain.

  • SCIM 2.0 in both the Okta and the Entra dialect: users created and updated, groups pushed and mapped to roles.
  • Deactivating someone removes their membership and ends their sessions at once.
  • SSO required, per verified domain: magic link, Google, Microsoft, OIDC and dev login are refused for those addresses.
  • Bootstrap admins stay exempt, so there is always a way back in.
The connection’s Provision with SCIM step showing the base URL and a token, above the Enforce step with its Require single sign-on switch. The connection’s Provision with SCIM step showing the base URL and a token, above the Enforce step with its Require single sign-on switch.

Verification that assumes the response is hostile

SAML is easy to get subtly wrong, so these checks run on every response before anyone is signed in.

  • The provider’s certificate is pinned when the connection is saved, and the one inside a response is never trusted.
  • Signature wrapping is refused.
  • Every sign-in request is single-use, and a replayed assertion is caught.
  • The audience, the recipient and the time window are all checked.
  • Eight sso_ tables, each with a row-level-security policy, in both tenancy modes.

What it has been tried against

ProviderStatus
OktaTried live, SAML and SCIM
Mock SAMLTried live
Microsoft Entra IDSetup guide
Google WorkspaceSetup guide
ADFSSetup guide

Not in this release

  • OpenID Connect sign-in per organisation: a later release.
  • Encrypted assertions and Single Logout.
  • Automatic metadata refresh: re-import when a provider rotates its certificate.
  • SCIM /Bulk, and filters beyond eq.
Getting it

Available to Rocketflare partners

It is not open source and is not in the public plugin repository, so there is no install command to copy here. Partners get access under their agreement with us and install it like any other plugin: pnpm plugin add prints the plan, and --apply writes it. Then generate and run its migration.

How to become a partner Email partners@rocketflare.dev

Plugin id
sso
Version
0.9.0
Needs kit
0.29.0 or later
Licence
Commercial, for partners
Adds packages
xml-crypto 6.4.0@xmldom/xmldom 0.9.12