Company sign-in (SSO) — Hit Status docs
Available on the Business and Enterprise plans. Your team signs in to Hit Status with their Google Workspace or Microsoft Entra ID (Azure AD) account…
Company sign-in (SSO)
Available on the Business and Enterprise plans. Your team signs in to Hit Status with their Google Workspace or Microsoft Entra ID (Azure AD) account, without creating a password. Anyone with an e-mail on the company domain is created automatically as a viewer on first sign-in; an administrator can adjust the role later in Team.
Set it up in Organization → Company sign-in (SSO). You choose:
- Provider: Google Workspace or Microsoft Entra ID.
- E-mail domain: only
@yourcompany.com e-mails sign in through SSO. Before enabling it, verify the domain with a TXT record (_hitstatus-verify.yourcompany.com) shown on screen, or sign in with a Google/Microsoft account on that same domain. Public domains (Gmail, Outlook) are not accepted. - OAuth application: your own app (recommended: the consent screen shows your company's name and you control access in your provider) or the Hit Status app, when enabled on the platform.
The redirect URI is always the same and is shown on the setup screen:
https://hitstatus.pro/api/auth/sso/callback
Google Workspace (your own app)
- Go to console.cloud.google.com with a Workspace administrator account and create (or pick) a project.
- APIs & Services → OAuth consent screen: type Internal (only users in your Workspace), name "Hit Status", support e-mail. Scopes:
openid, email, profile. - APIs & Services → Credentials → Create credentials → OAuth client ID: type Web application. Under Authorized redirect URIs, paste the URI above.
- Copy the Client ID (it ends in
.apps.googleusercontent.com) and the Client secret. - In Hit Status, paste both, enter the domain and click Save and enable.
Microsoft Entra ID (your own app)
- Go to entra.microsoft.com → Identity → Applications → App registrations → New registration.
- Name "Hit Status". Supported account types: Accounts in this organizational directory only (or multitenant, if you have more than one directory). Redirect: Web platform, URI above.
- Under Certificates & secrets → New client secret, copy the Value (not the Secret ID). Note the expiration date and renew it before it expires.
- Under API permissions, keep
User.Read (Microsoft Graph, delegated), openid, email, profile. Grant admin consent if your policy requires it. - In Hit Status, paste the Application (client) ID, the secret and the Tenant (directory ID or
company.onmicrosoft.com). The tenant is required: we validate the token signed by Microsoft and only accept accounts from that directory. Enter the domain and click Save and enable.
How your team signs in
- On the sign-in screen, when someone types an e-mail on the configured domain, the "Sign in with SSO for <your company>" button appears.
- Or use the direct link shown in the setup:
https://hitstatus.pro/api/auth/sso/<organization-identifier>. You can put it on your intranet portal or in bookmarks. - Users who already have a password keep signing in with it; once they use SSO, their account becomes linked to the provider.
Security and best practices
- The client secret is stored encrypted in Hit Status and is never shown again. To change it, paste a new one.
- Only e-mails verified by the provider and on the configured domain can sign in. An e-mail that already belongs to another Hit Status organization is not accepted.
- Keep at least one administrator with a local password as emergency access (in case the provider is down or the secret expires).
- Disable SSO keeps the configuration saved; only SSO sign-in stops working.
- To block someone, remove them in Team and revoke their access to the app in the provider. Removing them only in the provider prevents new sign-ins, but does not end sessions already open until they expire (7 days).
- To review who signed in and what changed, use Organization → Audit (administrators): sign-ins and wrong-password attempts, invites, changes to monitors, integrations, on-call, subscription and settings, with person, time, source (dashboard, app, Hex, API) and IP, filters and CSV export. Events are kept for 13 months; passwords and secrets never enter the trail.
Common errors
Message · Likely cause
redirect_uri_mismatch / AADSTS50011 · The URI registered in the provider is not exactly the one shown in the setup
"Failed to exchange the code" · Wrong Client ID or secret, or expired secret (Microsoft)
"Use an @company e-mail to sign in with SSO" · The account chosen in the provider is on another domain
"This organization's company sign-in is not active" · SSO turned off, empty domain or a plan without SSO