Single sign-on and the audit log
Let a team sign in through Okta, Google Workspace, Microsoft Entra or any OpenID Connect provider, make it the only way in for their email domain, and see who changed what in the organisation, with a CSV export.
Updated · 5 min read
Bigger customers ask two things before they buy: can our people sign in through our own identity provider, and can we see who changed what? Each organisation answers both itself. An owner connects the team's provider, so anyone with the organisation's email domain signs in through it, and can make it the only way in. Owners and admins read an audit log of every change to the organisation, ready to export.
Connect your identity provider
Single sign-on works with any OpenID Connect provider, such as Okta, Google Workspace or Microsoft Entra. Each organisation connects one.
- Open organisation settings and choose the Single sign-on tab, at
/organisation/sso. Only owners see it. - Under 1. Create an app in your identity provider, copy the Redirect URI and make a web app in your provider with it (see below).
- Under 2. Connect it here, paste the provider's Issuer URL, Client ID and Client secret, and the Email domain your people use, like
acme.com. Choose Save provider. - Prove you own the domain (next section).
Where to make the app:
- Okta. Applications → Create App Integration → OIDC, Web Application. Put the redirect URI in Sign-in redirect URIs and assign the people or groups. The issuer is
https://<your-org>.okta.com, or your custom authorisation server's issuer. - Google Workspace. In Google Cloud, set up APIs & Services → OAuth consent screen with user type Internal, then Credentials → OAuth client ID → Web application, with the redirect URI as an authorised redirect URI. The issuer is
https://accounts.google.com. - Microsoft Entra. App registrations → New registration, platform Web, with the redirect URI. Make a client secret under Certificates & secrets. The issuer is
https://login.microsoftonline.com/<tenant ID>/v2.0.
The app reads the rest of the provider's settings from its issuer. If your provider publishes them anywhere other than the issuer URL followed by /.well-known/openid-configuration, tick My provider has a different discovery URL and paste it. The provider has to be on a public https:// address.
The client secret stays on your server. Once it's saved, nobody can read it back, you included. Leave the field empty when you save other changes and the stored secret is kept.
Prove you own the domain
Nobody is sent to your provider until the domain is proven. Under 3. Prove you own the domain, copy the TXT record name and TXT record value, add them as a TXT record at your DNS host, then choose Check the record. The record can take a few minutes to show up. Once it's found, the domain shows Verified.
The record expires a week after it's made. If yours has, choose Make a new record, add the new one and check again.
A verified domain covers its subdomains, so people at eng.acme.com sign in through acme.com's provider. A domain another organisation has already verified, or one above or below it, can't be saved or verified here.
Changing the domain means proving it again, and turns required single sign-on off.
How your people sign in
On the sign-in page they choose Sign in with SSO, enter their Work email and choose Continue with SSO. They're sent to your provider's sign-in page, then brought back signed in. The first time, they join the organisation as members, with their email already verified.
- Someone who already has an account with that email is linked to it. If they never verified that email, its password and other ways in are removed first, because nobody proved they own the address. The organisation's owners keep their password.
- Your provider has to sign them in with an email at the verified domain. One from anywhere else is refused, so one organisation's provider can never sign anyone into another's accounts.
Require single sign-on
Once the domain is verified, turn on Only sign in with SSO for your domain under 4. Require single sign-on. From then on, anyone whose email ends in the domain can only sign in or sign up through your provider: no password, email link, passkey, Google or GitHub. Sign-in links emailed before you turned it on stop working too. Someone who tries their password is told "Your organisation signs in with single sign-on" and offered Sign in with SSO.
Turning it on signs out everyone at the domain except the owners. Owners keep every way in, so a problem with your provider can't lock you out.
Turn it on only after someone has signed in through the provider successfully.
Remove single sign-on
Remove single sign-on, at the bottom of the page, disconnects the provider. People go back to signing in with a password, an email link or a passkey. Accounts and memberships stay as they are, and you can set it up again whenever you like.
Read the audit log
Owners and admins open organisation settings and choose the Audit log tab, at /organisation/audit. It lists who changed what at the organisation, when and from which IP address, newest first, for the last 365 days:
- invitations sent, cancelled and declined, people joining, leaving and being removed, and role changes;
- single sign-on saved or removed, its domain verified, and required single sign-on turned on or off;
- the organisation created, renamed or edited, or deleted, and its data exported;
- plan changes and seat changes, recorded as made by Stripe, because Stripe confirms them.
Narrow it with Person and Action. The filters live in the address, so you can share a filtered view. Export CSV downloads every entry that matches, ready for a security review.
The audit log comes with a plan that includes it. In the example plans that's Team; see Plans and billing. On any other plan, the page lists what the log records and links to billing to upgrade.
Good to know
- Single sign-on uses OpenID Connect. SAML isn't supported.
- Each organisation has one provider at a time.
- Only owners can change single sign-on, and only owners and admins can read the audit log. The server checks both on every request, not just the app.
- Every single sign-on change is written to the organisation's audit log.
- Audit entries can't be edited or deleted. The organisation sees the last 365 days; app admins see every entry, older ones included, in Admin → Audit. See The admin panel.
- Sign-in methods, members and roles work as usual for everyone outside the domain. See Sign-in and accounts and Organisations, members and roles.
Something unclear or missing? Ask us and we'll answer, then fix the page.



