SSO and SCIM
SSO lets people sign in through your identity provider (IdP) instead of a Forgebench password. SCIM lets your IdP add people to the workspace, and removes their access when you deactivate them there.
SSO & SCIM is under Admin in the sidebar. SSO requires Pro or Enterprise. Reading needs Admin, Owner, or identity_config:view; saving needs Admin, Owner, or identity_config:write. Only an owner can grant that write permission to a role. SCIM is a separate Enterprise entitlement.
| Provider | Protocol | Dashboard tile | SCIM |
|---|---|---|---|
| Okta | OIDC | assigned, approved people can sign in | |
| Microsoft Entra ID | OIDC | their first sign-in completes the account | |
| Google Workspace | OIDC | — | — |
| JumpCloud | OIDC | in the User Portal | Not yet tested |
| SAML 2.0 (ADFS, PingFederate, OneLogin…) | SAML | via a bookmark app | |
| Generic OIDC (WorkOS, Auth0, Keycloak…) | OIDC | If your IdP has one | |
| LDAP directory | LDAPS through Forgebench's sign-in bridge | — | Only if a separate provisioning tool sends SCIM |
Set it up
Add and verify your email domain
Under Email domains, add the domain your people sign in with, for example
acme.com. Publish the TXT record shown, then click Verify:_forgebench-challenge.acme.com. TXT "forgebench-verification=<token>"Only people whose email is in a verified domain can sign in through your IdP. A domain belongs to one workspace only.
Most DNS providers append your domain, so enter
_forgebench-challengeas the host. New records can take a few minutes; click Verify again if it misses.Create an app in your identity provider
Follow the steps for your provider below. You get the redirect URI in the next step, so leave it blank if your IdP allows.
Connect it in Forgebench
Choose your provider, paste the issuer (or metadata URL for SAML) and, for OIDC, the client ID and secret. Click Save connection.
Paste Forgebench's URLs back into your IdP
Once saved, the page shows the Sign-in redirect URI (SAML: ACS URL and Audience URI) and the Initiate login URI for a dashboard tile. Copy them into your IdP app.
Sign in
On the Forgebench login page, click Continue with SSO and enter a work email, or click the tile in your IdP's dashboard.
The client secret is write-only: the console shows whether one is stored, never its value. Leave it blank when editing to keep the current one.
A workspace has one SSO connection. To switch providers, disconnect the current connection before saving another provider.
Provider setup
Okta
In the Okta admin console:
- Applications → Create App Integration → OIDC – OpenID Connect → Web Application, grant type Authorization Code.
- Client authentication Client secret. Leave Require Demonstrating Proof of Possession (DPoP) unticked, or Okta refuses the sign-in.
- Sign-in redirect URIs: Forgebench's Sign-in redirect URI. Leave Sign-out redirect URIs empty.
- Assignments: the people or groups who should get access. Untick Federation Broker Mode: it hides the app from the dashboard, so there's no tile.
- General → General Settings: Login initiated by Either Okta or App, tick Display application icon to users, Login flow Redirect to app to initiate login, and Initiate login URI is Forgebench's Initiate login URI.
- Copy the Client ID and Client secret.
In Forgebench, the issuer is your Okta org URL, https://<org>.okta.com (or
…/oauth2/default for the default custom authorization server). Don't use the -admin URL.
Microsoft Entra ID
One Entra app handles both sign-in and SCIM. In the Entra admin center:
- App registrations → New registration, Accounts in this organizational directory only. Redirect URI (Web): Forgebench's Sign-in redirect URI.
- Certificates & secrets → New client secret. Copy its Value, not the Secret ID next to it; the value is shown only once. Note its expiry and paste a new one into Forgebench before it lapses.
- Enterprise applications → the same app → Properties: Assignment required Yes, and Home page URL is Forgebench's Initiate login URI (this is the My Apps tile). Then assign people under Users and groups.
In Forgebench, the issuer is
https://login.microsoftonline.com/<Directory (tenant) ID>/v2.0, using the
Directory (tenant) ID from the app's Overview, not the Application
(client) ID; that one is the client ID. common and organizations are
refused, because they'd let in every Microsoft account. Forgebench
reads each person's mail from Microsoft Graph, or their UPN if they have no
mailbox, so no token claims need configuring.
Google Workspace
In the Google Cloud console, in a project owned by your Workspace organization:
- Google Auth Platform → Audience: user type Internal.
- Clients → Create client → Web application. Authorized redirect URI: Forgebench's Sign-in redirect URI. Copy the client ID and secret, or download the JSON, when the client is created.
The project must belong to your Workspace organization; with user type Internal, only its accounts can sign in.
In Forgebench, the issuer is https://accounts.google.com. A personal Google account created with a company email is refused.
Google has no dashboard tile or SCIM for custom apps. People use Continue with SSO, are added at first sign-in, and can't sign in once suspended in Google.
JumpCloud
In the JumpCloud Admin Portal:
- Access → SSO Applications → + Add New Application → Custom Application, then Manage Single Sign-On and Configure SSO with OIDC. Give it a display label, and tick Show this application in User Portal if you want a tile.
- Redirect URIs: Forgebench's Sign-in redirect URI.
- Client Authentication Type: Client Secret Basic.
- Login URL: Forgebench's Initiate login URI.
- Attribute mapping: tick the Email and Profile scopes.
- Click Activate, and copy the Client ID and Client Secret straight away: JumpCloud shows the secret only once.
- Authorize the user groups who should have access to the app (JumpCloud's Authorize Users to an SSO Application).
In Forgebench, the issuer is https://oauth.id.jumpcloud.com/, or
https://oauth.id.eu.jumpcloud.com/ for an EU org and
https://oauth.id.in.jumpcloud.com/ for an India org.
Turn on MFA for this app in JumpCloud's conditional access policy.
SAML 2.0
For IdPs that only speak SAML, or a SAML app in Okta or Entra. Create a SAML app with:
- Single sign-on (ACS) URL: Forgebench's ACS URL.
- Audience URI (SP entity ID): Forgebench's Audience URI.
- Name ID format EmailAddress, with the person's email as the value.
- Attributes named exactly
firstNameandlastName. Without them, people are asked for their name at their first sign-in. - Signed assertions.
A sign-in whose email differs from the NameID is refused with "That email doesn't match your company sign-in".
In Forgebench, paste the IdP's metadata URL (Okta: the app's Sign On → Metadata URL; Entra: App Federation Metadata Url). It must be reachable from the internet; a downloaded metadata XML file won't work.
For a dashboard tile, hide the SAML app's icon and add a bookmark app pointing at Forgebench's Initiate login URI. Sign-ins started from the SAML app's own tile aren't accepted.
LDAP or Active Directory
For a directory with no sign-in page of its own, Forgebench shows the sign-in page and checks each password against your directory.
- Server URL: your directory's LDAPS address, for example
ldaps://dc1.acme.com:636. It must be reachable from the internet, because Forgebench connects to it on every sign-in. - Bind DN and Bind password: a service account that can search for users.
- User search base, Sign-in attribute and, optionally, a User filter.
- CA certificate (optional): a PEM certificate, for a directory that requires one, such as Google Secure LDAP.
Saving connects to the directory and reads the search base, so a wrong setting fails when you save, not when someone signs in. After five wrong passwords, that person is locked out for a while. Domain checks, Enforcing SSO and Who can join work as they do for other providers.
Generic OIDC
Any OpenID Connect provider that publishes
<issuer>/.well-known/openid-configuration (WorkOS AuthKit, Auth0, OneLogin,
Keycloak…). Create a confidential web app with the Sign-in redirect URI, then
paste its issuer, client ID and secret. The redirect URI must match exactly,
with no trailing slash.
For WorkOS, the issuer is your AuthKit domain (https://<name>.authkit.app),
and the client is an OAuth application under Connect, "managed by you". Turn
off AuthKit's social sign-in methods (GitHub and others) unless you want people signing in with accounts your company doesn't manage.
LDAP directory
Choose the LDAP directory provider when people authenticate with a directory password rather than an OIDC or SAML app. Forgebench must be able to reach the directory at sign-in time.
- Enter the Server URL, such as
ldaps://dc1.acme.com:636, Bind DN, and Bind password for the directory account that searches users. - Set User search base, for example
OU=People,DC=acme,DC=com. - Choose Sign-in attribute. The account's email still comes from
mail, falling back touserPrincipalName. - To restrict eligible entries, add a User filter. For a private certificate authority, paste its PEM certificate into CA certificate. If the directory requires mutual TLS, supply Client certificate and its write-only Client key.
- Click Save connection. Saving checks the bind credentials and search base. People then enter their directory password on a Forgebench sign-in page; there are no redirect URLs to paste into a directory app.
Outside a local development stack, the server URL must use ldaps:// and resolve to a public address. Disabling or removing a person in the directory stops future directory sign-ins. Use SCIM when you also need provisioning updates to revoke existing Forgebench access.
Who can join
New people from your IdP sets what happens when someone without a membership first signs in:
| Option | Their first sign-in |
|---|---|
| Join automatically (default) | They become a member of the workspace. |
| Need an admin's approval | A request goes to Members → Requests and the workspace's admins get an email. They get in once an admin approves it. |
| Only people you invite or provision | They're turned away unless you've invited them or your IdP provisioned them over SCIM. |
Invites satisfy the join policy. SCIM imports also satisfy invite-only membership, but a new SCIM import waits for review when the join policy is Need an admin's approval. See Review imported users. With Okta or Entra, you can also limit access by assigning the app only to the right people. With Google Workspace, every account in your organization can reach the sign-in, so use approval or invite-only to narrow it.
Enforcing SSO
Enforce SSO makes your IdP the only way in: password sign-in stops working for every member, and AI clients connecting over MCP also go through your IdP. It's available once the connection is saved and a domain is verified.
SSO sign-ins don't ask for a Forgebench two-step verification code, so turn on MFA in your IdP.
SCIM provisioning
Generate a token
Under User provisioning (SCIM), click Generate token. It is shown once. Rotate token replaces it; Revoke stops SCIM entirely.
Point your IdP at Forgebench
Base URL: the SCIM base URL shown on the page (
…/scim/v2).Okta: add SCIM 2.0 Test App (Header Auth) from the catalog next to your sign-in app, with application username Email. Under Provisioning → Integration, the API token is
Bearer <token>. Under Provisioning → To App, enable Create Users, Update User Attributes and Deactivate Users. Assign people to both apps.Entra: on your sign-in app, Provisioning, mode Automatic. Tenant URL is the base URL; Secret token is the token without
Bearer. Entra syncs about every 40 minutes; Provision on demand pushes one person now.Check Members
Provisioned people appear under Members. Deactivating someone in your IdP revokes their Forgebench access when the SCIM deactivation reaches Forgebench. The IdP's provisioning schedule controls that delay.
Okta's Test API Credentials button only checks the token; assign one person to the SCIM app to see a real push.
Once approved and active, Okta-provisioned people can click the tile and land in the workspace. With other providers, their first sign-in completes the account.
Review imported users
Under User provisioning (SCIM), choose Review who can sign in to open Imported users. The list separates imported directory accounts from permission to use Forgebench.
- Pending imports cannot sign in until approved. New imports start here when the SSO join policy requires approval.
- Approved imports can sign in while their account remains active.
- Blocked imports cannot sign in or use existing sessions or keys. Blocking ends their sessions and releases their keys from pools. Approving them later does not restore those old sessions or pool memberships.
SCIM creates members as Viewer. Change their role on Members after review. SCIM groups can be imported as teams; they do not assign workspace roles automatically.
Imported users
SSO → Imported users lists everyone your identity provider has synced over SCIM, with whether they Can sign in or are Waiting for review. Choose who can sign in, one at a time or with Select all shown. Until you allow someone, signing in tells them their access is waiting for an admin. Only admins see this page.
Each imported person gets one email when they can first sign in. That happens once they're allowed, their email domain is verified and the SSO connection is saved, whichever of those comes last.
Signing in, for your team
Share this with your team.
- From your IdP's dashboard: click the Forgebench tile (Okta, Entra My Apps, or a SAML bookmark app).
- From Forgebench: on the login page, click Continue with SSO and enter your work email. The password box goes away; click Continue with SSO again and sign in on your company's page as usual.
The first time, you may be asked to confirm your name and email. If you already have a Forgebench password with that email, enter it once to link the two.
If your workspace approves new people, your first sign-in sends a request to its admins. Sign in again once it's approved.
Signing out of Forgebench doesn't sign you out of your company account. AI clients connecting over MCP also send you through your company's sign-in.
Troubleshooting
| What you see | Why |
|---|---|
| Verify: "No TXT record found" | DNS hasn't propagated yet, or the record isn't on _forgebench-challenge.<domain>. |
| Verify: "already verified by another workspace" | A domain routes to one IdP. Remove it from the other workspace first. |
| "That email can't sign in to this workspace" | The email's domain isn't verified for this workspace. |
| "Your request to join was sent" | The workspace approves new people. An admin approves it under Members → Requests; then sign in again. |
| "You haven't been added to this workspace" | The workspace is invite-only. Ask an admin to invite you, or to assign you in the IdP's SCIM app. |
| "This workspace requires single sign-on" | SSO is enforced; use Continue with SSO or the IdP tile. |
| Asked for a password the first time through the IdP | That email already has a Forgebench password account. Prove it once and the two are linked; an IdP can't take over an account by email alone. |
Entra: invalid_client | The client secret expired. Create a new one and paste it in. |
| Okta SCIM: "missing or malformed bearer token" | The API token field needs the Bearer prefix. |
| Okta: 400 access_denied, "policy requirements could not be satisfied" | The app's authentication policy wants a factor the person hasn't enrolled. See the Okta warning. |
| Okta: the app has no tile | Federation Broker Mode is on, or Display application icon to users is off. |
Entra: AADSTS50011 (redirect URI mismatch) | The app's redirect URI isn't exactly Forgebench's Sign-in redirect URI. |
| Google: "Access blocked" or a personal account refused | The OAuth client's user type isn't Internal, or the account isn't managed by your Workspace. |
JumpCloud: OIDC_SUB_VALUE_EXCEPTION | The app's Subject Claim points at a user attribute that's empty for this person. Leave it on JumpCloud User ID. |
| SAML: "That email doesn't match your company sign-in" | The NameID isn't the person's email address. |
| Saving: "could not read the identity provider's metadata" | The issuer or metadata URL is wrong (a typo, an extra path) or not reachable from the internet. |

