SAML SSO Setup Guide
Overview
Chezie supports SAML 2.0 single sign-on so your employees log in to Chezie with your company's identity provider (IdP). Your IdP (Microsoft Entra ID, Okta, Google Workspace, PingFederate or any SAML 2.0 provider) authenticates the user, then sends Chezie a signed assertion with their email and profile attributes.
In this setup your IdP is the Identity Provider and Chezie is the Service Provider (SP). Login is SP-initiated: a user enters their work email on Chezie, is redirected to your IdP, and lands back in Chezie once authenticated.
Before you begin
You need admin access to your IdP and your Chezie subdomain (set during onboarding). When setup is done, send the Chezie team:
- Your IdP metadata (XML file or metadata URL)
- Your company's email domain(s), e.g.
yourcompany.com - Which environment you are connecting: staging, production, or both
Send these to your Chezie contact or gasper@chezie.co.
Chezie service provider details
Use these values wherever your IdP asks for the SP's Entity ID, ACS (Reply) URL or Logout URL. Configure staging first if you are testing before go-live.
| Setting | Staging | Production |
|---|---|---|
| ACS URL (Reply URL / Single sign-on URL) | https://qtiecfyollslwhqphlwg.supabase.co/auth/v1/sso/saml/acs | https://ajpslxczqsiotagnzifa.supabase.co/auth/v1/sso/saml/acs |
| Entity ID / metadata URL (Audience URI) | https://qtiecfyollslwhqphlwg.supabase.co/auth/v1/sso/saml/metadata | https://ajpslxczqsiotagnzifa.supabase.co/auth/v1/sso/saml/metadata |
| SLO URL (Single logout) | https://qtiecfyollslwhqphlwg.supabase.co/auth/v1/sso/slo | https://ajpslxczqsiotagnzifa.supabase.co/auth/v1/sso/slo |
| Login domain | qtiecfyollslwhqphlwg.supabase.co | ajpslxczqsiotagnzifa.supabase.co |
SP metadata XML: add ?download=true to the metadata URL to download Chezie's SP metadata file, e.g. https://ajpslxczqsiotagnzifa.supabase.co/auth/v1/sso/saml/metadata?download=true. Many IdPs can import this file instead of entering the URLs by hand.
Signing certificate: Chezie's SSO certificate is included in the entity metadata.
Configuration requirements
These apply to every IdP. The email attribute is the one setting SSO cannot work without.
| Requirement | Value | Notes |
|---|---|---|
email attribute | User's work email | Required. Send it as an attribute named exactly email, unique per user. |
first_name, last_name attributes | User's first and last name | Recommended, so profiles are populated on first login. |
| SAML subject (NameID) | Email address, or your IdP's default identifier | Email is the usual choice. A persistent ID such as PingFederate's fmFederationID also works, as long as the email attribute is sent. |
| Assertion signing | Signed | Sign your assertions. Encryption is optional. |
| SSO flow | SP-initiated | Users start login from Chezie. |
IDP-Specific Instructions
Microsoft Entra ID (Azure AD)
-
In the Azure portal, go to Enterprise applications > New application > Create your own application. Name it "Chezie" and choose a non-gallery app.
-
Open Single sign-on and select SAML.
-
Under Basic SAML Configuration, set Identifier (Entity ID) to the metadata URL and Reply URL to the ACS URL.
-
Set Sign on URL to your Chezie subdomain.
-
Under Attributes & Claims, add a claim named
emailmapped touser.mail(plusfirst_nameandlast_nameif desired). -
Download the Federation Metadata XML and send it to Chezie with your email domain.
-
Assign users or groups. Chezie then appears in their My Apps dashboard.
Okta
-
In the Okta admin dashboard, go to Applications > Create App Integration and choose SAML 2.0.
-
Add the app name ("Chezie") and logo.
-
Set Single sign-on URL to the ACS URL and check Use this for Recipient URL and Destination URL.
-
Set Audience URI (SP Entity ID) to the metadata URL.
-
Set Name ID format to
EmailAddressand Application username toEmail. -
Under Attribute Statements, add
emailmapped touser.email. -
Select I'm an Okta customer adding an internal app and finish.
-
Copy the SAML 2.0 Metadata URL and send it to Chezie with your email domain.
-
Optional: create a Bookmark app pointing to your Chezie subdomain, hide the SAML app from users, and assign the bookmark instead.
Google Workspace
-
In the Google Admin console, go to Apps > Web and mobile apps > Add app > Add custom SAML app.
-
Add the app name, description and logo.
-
Download the IdP metadata file and send it to Chezie with your email domain.
-
Set ACS URL and Entity ID from the table above, and Start URL to your Chezie subdomain. Set Name ID format to
EMAIL. -
Under Attribute mapping, map Primary email to
email. -
Turn the app ON for everyone (or selected org units). Chezie then appears in users' Google apps menu.
PingFederate
- In the PingFederate Admin Console, create a new SP Connection using the Browser SSO profile, SAML 2.0, with SP-initiated SSO.
- Name the connection (e.g. "Chezie SAML"). Import Chezie's SP metadata XML, or enter the Entity ID and ACS URL manually.
- Under Assertion Creation, keep the SAML subject as
fmFederationID(or use email address). - Under Attribute Contract, add
email(required),first_nameandlast_name, mapped from your directory (LDAP, Active Directory or similar). - Under Signature Policy, sign the assertion. Encryption is optional.
- Export the IdP metadata XML and send it to Chezie with your email domain.
- Activate the connection for the target users or groups.
Other SAML 2.0 providers
Any SAML 2.0 IdP works. Import Chezie's SP metadata XML (or enter the ACS URL and Entity ID manually), send the email attribute, sign assertions, and send Chezie your IdP metadata.
Testing and go-live
Once Chezie confirms your IdP metadata is loaded, test with one user before rolling out.
- Go to your Chezie login page and enter a work email on your configured domain.
- Confirm you are redirected to your IdP, authenticate, and land back in Chezie signed in.
- Check the profile shows the correct email and name.
- Assign the app to the rest of your users or groups.
Troubleshooting
- Login fails after authenticating: the
emailattribute is usually missing or misnamed. It must be named exactlyemail. - Not redirected to your IdP: confirm Chezie has your email domain on file.
- Signature or audience error: check the Entity ID and ACS URL match the environment (staging vs production) and that assertions are signed.