SSO is available on the Enterprise plan only. If your workspace is on the Free or Pro plan, upgrade first before following the steps on this page. See the Billing & Plans guide for upgrade instructions and a full plan comparison.
Supported Identity Providers
Chevre works with any standards-compliant IdP. The following providers are tested and officially supported with step-by-step instructions:- Okta
- Azure Active Directory / Microsoft Entra ID
- Google Workspace
- OneLogin
- Any SAML 2.0 or OIDC-compatible identity provider
Before You Begin
Gather the following before starting the SSO configuration:- Admin access to your IdP — you must be able to create and configure new application integrations.
- Owner or Admin role in Chevre — only Owners and Admins can modify SSO settings.
- Enterprise plan active on your Chevre workspace.
Configuring SSO
- Okta
- Azure AD / Entra ID
- Google Workspace
Follow these steps to configure SAML SSO between Chevre and Okta.
1
Open SSO Settings in Chevre
In Chevre, go to Settings → Security → SSO. Click Configure SAML. A configuration panel will open displaying your workspace’s SAML service-provider details.
2
Copy the ACS URL and Entity ID
From the Chevre SSO panel, copy both values:
- ACS URL (Assertion Consumer Service URL) — e.g.,
https://app.chevre.io/auth/saml/your-slug/acs - Entity ID (SP Entity ID / Audience URI) — e.g.,
https://app.chevre.io/auth/saml/your-slug
3
Create a SAML App in Okta
Log in to your Okta admin console. Navigate to Applications → Applications and click Create App Integration. Select SAML 2.0 and click Next. Give the app a name such as
Chevre and upload a logo if desired, then click Next.4
Paste the ACS URL and Entity ID into Okta
In the SAML Settings step:
- Paste the ACS URL into the Single sign-on URL field.
- Paste the Entity ID into the Audience URI (SP Entity ID) field.
- Set Name ID format to
EmailAddress. - Set Application username to
Email.
5
Map User Attributes
Scroll down to Attribute Statements and add the following mappings:
Click Next, complete the feedback step, then click Finish.
6
Copy the IdP Metadata from Okta
On your new Okta app’s Sign On tab, find the SAML Setup Instructions section and click View SAML setup instructions. Copy the Identity Provider metadata URL, or download the metadata XML if you prefer to upload a file.
7
Paste Metadata into Chevre and Test
Return to the Chevre SSO configuration panel. Paste the metadata URL into the IdP Metadata URL field, or click Upload XML to upload the metadata file. Click Save & Test. Chevre will perform a test authentication flow and display a success confirmation if everything is configured correctly.
JIT Provisioning
Just-in-Time (JIT) provisioning automatically creates a Chevre account for a user the first time they successfully authenticate via SSO — no manual invitation required. When JIT provisioning is enabled:- Chevre creates a new member account using the
email,first_name, andlast_nameattributes sent by your IdP. - The new member is assigned the default Member role. Admins can change roles after the first login.
- If an account already exists with the same email address, JIT provisioning links the SSO identity to that existing account instead of creating a duplicate.
Enforcing SSO
Once SSO is configured and tested, you can make it mandatory for all workspace members. When SSO is enforced:- Password-based login is disabled for all members except accounts that explicitly retain it (see the warning below).
- Members who try to log in with a password are redirected to your IdP login page.
- New members joining via JIT provisioning can only log in through SSO.
Troubleshooting SSO
Attribute mapping failure: email or name fields are blank
Attribute mapping failure: email or name fields are blank
Chevre requires the
email, first_name, and last_name attributes to be present in every SAML assertion. If any of these are missing, the login will fail with an attribute mapping error.Check your IdP’s attribute statement configuration and verify that each attribute name exactly matches what Chevre expects (case-sensitive). In Okta, re-open the SAML app settings and confirm the Attribute Statements section contains all three mappings. In Azure, check the Attributes & Claims section. In Google Workspace, review the Attribute Mapping step of your custom SAML app.After saving changes in your IdP, click Save & Test again in Chevre to re-run the authentication flow.Invalid ACS URL or 'Destination' mismatch error
Invalid ACS URL or 'Destination' mismatch error
This error typically means the ACS URL entered in your IdP does not exactly match the one Chevre expects. Even a trailing slash or
http vs https difference will cause this failure.In Chevre, go to Settings → Security → SSO → Configure SAML and re-copy the ACS URL. Paste it freshly into your IdP’s configuration, replacing the previous value. Make sure there are no extra spaces or line breaks.Clock skew: 'Assertion is not yet valid' or 'Assertion has expired'
Clock skew: 'Assertion is not yet valid' or 'Assertion has expired'
SAML assertions include a validity window tied to the server clock. If the clock on your IdP server and the clock on Chevre’s servers differ by more than five minutes, assertions will be rejected.Most cloud-hosted IdPs (Okta, Azure AD, Google Workspace) sync their clocks automatically, so this issue is uncommon with those providers. If you are using a self-hosted or on-premises IdP, ensure it is configured to use NTP for time synchronization. Contact your system administrator to verify and correct the server clock.
SSO login redirects correctly but returns to the login page
SSO login redirects correctly but returns to the login page
This usually indicates a session cookie issue or a misconfigured RelayState. Ensure that:
- Third-party cookies are not blocked in the user’s browser for
app.chevre.io. - The RelayState value set in your IdP (if any) matches a valid destination URL within Chevre.
- The user’s browser is not in a private/incognito mode that strips cookies between the IdP redirect and the Chevre callback.
chevre.io and try again.