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.
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.
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.
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.
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.
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
| Provider | Status |
|---|---|
| Okta | Tried live, SAML and SCIM |
| Mock SAML | Tried live |
| Microsoft Entra ID | Setup guide |
| Google Workspace | Setup guide |
| ADFS | Setup 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 beyondeq.
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.
- Plugin id
sso- Version
0.9.0- Needs kit
0.29.0or later- Licence
- Commercial, for partners
- Adds packages
xml-crypto 6.4.0@xmldom/xmldom 0.9.12