On this page
Set up single sign-on and SCIM provisioning
Connect Okta or Microsoft Entra ID to Generate over OIDC or SAML, choose how accounts are created, map groups to teams, and turn on SCIM.
This page shows an administrator how to sign people in to Generate through your organization’s identity provider and keep their accounts in step with it.
You configure all of it in Admin settings, then Access, then Sign-in. Each row there shows the provider’s Identity protocol, its Provisioning (such as Manual), and a Status switch that turns sign-in through it on or off.
Add an identity provider
Section titled “Add an identity provider”Connect Okta or Microsoft Entra ID over OpenID Connect or SAML 2.0.
-
Select Add provider
On Sign-in, select Add provider. The dialog has two steps, Provider and Connection.
Open full sizeShown in the enterprise edition. -
Name the provider
Enter a Display name. It may hold letters and hyphens only; spaces become hyphens.
-
Pick the type and protocol
Under Identity provider type, pick Okta or Microsoft, then the Identity protocol: OpenID Connect, or SAML 2.0 if your provider supports only SAML. Okta and Microsoft Entra ID are the providers Generate supports end to end.
Open full sizeShown in the enterprise edition. -
Fill in the Connection step
Select Next and enter the fields for your protocol, as OpenID Connect fields or SAML 2.0 fields describes, then select Test connection.
-
Choose how accounts are created
Under User provisioning, pick what happens when a new user signs in, as the account creation table lists.
-
Map groups to teams
Under Group mapping, optionally map your provider’s groups to Generate teams, as Map provider groups to teams describes.
-
Save and register the redirect
Save, then register Generate’s redirect URL with your provider, which the dialog shows after you save.
Map provider groups to teams
Section titled “Map provider groups to teams”Put people into Generate teams from the groups your provider sends.
-
Create the teams first
Create the teams in Teams. See Manage users, teams and privileges.
-
Select + Add mapping
Under Group mapping, select + Add mapping, then pick the group and the Generate team its members join.
-
Type the group as the provider sends it
Matching ignores case and extra spaces. People in a mapped group join the team when they are provisioned or sign in.
For mapping by sign-in, the provider must send a groups claim, so OpenID Connect providers need the groups scope.
Turn on SCIM provisioning
Section titled “Turn on SCIM provisioning”Have your provider push new, changed and deactivated users and groups to Generate as they change.
-
Open user provisioning
Open the provider’s row menu, select Manage user provisioning, then Set up user provisioning, or tick Enable SCIM provisioning while adding the provider.
-
Copy the endpoint and token
Copy the SCIM endpoint URL and the Bearer token into your provider’s provisioning settings: the Secret Token field in Microsoft Entra ID, or API Token in Okta.
-
Select I’ve saved the token
Generate keeps only a hash of it, so a lost token cannot be shown again; select Rotate token for a new one, which stops the old one at once.
Recent SCIM operations lists each push with its result. Disable user provisioning stops the pushes; existing users keep their access.
Sync users with automatic identity management
Section titled “Sync users with automatic identity management”Have Generate read your directory on a schedule instead of waiting for pushes. Automatic identity management (AIM) supports Okta and Microsoft Entra ID.
-
Select Manage AIM
From the provider’s row menu, select Manage AIM, then Configure.
-
Enter the directory’s credentials
For Okta, enter the Okta org URL, Client ID and the API Services app’s Private key (PEM); for Entra, the Tenant ID and its credentials.
-
Choose groups and interval
Under Sync group IDs, list the groups to sync, or leave it empty to sync every user (group-to-team mapping then does not apply). Set the Poll interval (seconds), from 300 to 86400, 900 by default.
-
Select Test connection
It previews how many users would be provisioned, updated, deactivated or denied.
-
Select Enable AIM
Generate starts syncing on the interval you set.
The Deny list keeps named users, groups or service principals out even when they sign in successfully. Generate refuses a deny entry that would lock out the last workspace administrator. AIM and SCIM can run on the same provider; users SCIM created stay under SCIM.
End someone’s sessions
Section titled “End someone’s sessions”Sign a person out of one browser, or everyone shown, at once.
-
Open Sessions
Sessions lists one row per browser session, with the person, how they signed in (Password or SSO), the device and when they were last active. Your own row reads This session, and Signed in with filters the list by method.
Open full sizeShown in the enterprise edition. -
Select Sign out
Select Sign out on a row to end that session on its next request, or Sign out all for everyone shown.
To end all of one person’s sessions, use Sign out everywhere in their row menu in Users. A person signed out can sign in again; deactivate them to stop that.
OpenID Connect fields
Section titled “OpenID Connect fields”Copy Generate’s redirect URL from the dialog into your provider’s application as an allowed sign-in redirect. Then enter the Issuer URL (the part before /.well-known/openid-configuration), Client ID and Client secret from the provider’s application.
Test connection opens your provider’s sign-in page in a new tab; if no sign-in page appears, check the client ID, the secret and the registered redirect URL. Generate asks for a test the provider accepted before it saves.
If your provider sits on your private network, such as an internal Keycloak or ADFS, turn on Identity provider is on our private network under Advanced; otherwise the test refuses private addresses. Claim names under Advanced lets you name non-standard claims for subject, email, name and groups.
SAML 2.0 fields
Section titled “SAML 2.0 fields”Paste Generate’s ACS URL into your provider (in Entra, both Reply URL and Identifier (Entity ID); in Okta, Single sign-on URL and Audience URI). From your provider, enter its Entity ID, Single Sign-On URL and x.509 Certificate, or select Upload metadata XML to fill all three from an exported file. App Federation Metadata Url is optional and lets Test connection cross-check the fields.
Generate requires signed assertions and reads the standard email, firstName, lastName and groups attributes of an Okta SAML application. Under Advanced, the NameID format sets what Generate asks your provider to identify people by; keep Email address (default) unless your provider needs another, because a format it does not support fails at sign-in.
Account creation options
Section titled “Account creation options”Under When a new user signs in, pick one:
| Option | What happens |
|---|---|
| Only invited users can sign in | A person needs an invitation from an administrator first |
| Auto-create accounts on first sign-in | Anyone who completes sign-in at your provider gets an account |
| Reject sign-ins from unknown users | Only people who already have an account get in |
Allowed email domains narrows who may sign in through the provider. Accounts can also be created ahead of sign-in by SCIM or automatic identity management.
When something goes wrong
Section titled “When something goes wrong”| What you see | What to do |
|---|---|
| Display name can only contain letters and hyphens. | Remove digits, spaces and symbols from the name. |
| Issuer URL and Client ID are required. | Fill both from your provider’s application before testing. |
| IdP entity ID, SSO URL, and signing certificate are all required. | Enter all three, or select Upload metadata XML. |
| Could not read that file as IdP metadata. | Export the federation metadata XML again from your provider and upload that file. |
| The test tab shows no sign-in page | Select the hint under the test to mark it failed, then check the client ID, secret and the registered redirect URL. |
| People sign in but join no team | Check the group mapping spelling, and that an OpenID Connect provider sends the groups scope. |
| Could not connect to Okta or Entra when setting up AIM | Check the org URL or tenant ID and the credentials, then select Test connection again. |
How editions differ
Section titled “How editions differ”| Edition | What differs |
|---|---|
| Enterprise, healthcare, storage | Everything on this page. On storage, the Directory column shows which LDAP directory each provider is linked to, for file permissions. |
| Consumer | Everything on this page, beside the self-service sign-up the edition offers. |
| Airgapped | No automatic identity management. Your identity provider must be reachable from inside the site’s network. |
Last updated on