Use the provider your company already runs
Connect Okta, Microsoft Entra ID or another SAML 2.0 or OIDC provider under Organization → SSO. The provider signs in people from the email domains you verify.

Single sign-on lets people sign in to an app you built on Hercules with the work login they already have, through any SAML 2.0 or OpenID Connect (OIDC) identity provider. Your identity provider confirms who each person is.
Connect Okta, Microsoft Entra ID or another SAML 2.0 or OIDC provider under Organization → SSO. The provider signs in people from the email domains you verify.


With more than one identity provider connected, each app picks the one it uses. You can switch an app to another provider later in Auth Portal.
Choose Only SSO users under Sign-in Rules, and Hercules hides your app's other sign-in methods. People already signed in stay signed in until their session ends.
Test sign-in under Organization → SSO runs your provider's real sign-in and shows who it signed in or what went wrong. A test signs nobody in, and it works once the provider's domains are verified.
If your app can't use the provider, such as after a domain's verification lapses, Hercules removes the SSO button and other sign-in methods keep working. An app set to Only SSO users blocks every sign-in until you fix the provider.
Under Organization → SSO, choose Connect identity provider and follow the steps Hercules shows. Add a DNS record at your domain provider for each email domain, and Hercules turns sign-in on once every domain is verified.
In Users & Access, open Auth Portal, switch on Single sign-on (SSO) and save. A Continue with SSO button appears on your sign-in page within about a minute.
Open your app's sign-in page and click Continue with SSO. Hercules sends you to your identity provider, brings you back signed in, and creates your user the first time you sign in.
In this hypothetical example, a building-supply distributor sets its order-tracking app to Only SSO users, so staff sign in with the work logins IT already manages. When IT turns off a leaver's work login, that person can't sign in again once their session ends, and nobody has an app password to revoke.
Domain verification proves your company owns the domain, so only your provider can sign in people with addresses there. Hercules checks the DNS record daily, and if it goes missing, sign-in for that domain keeps working for 7 days while you restore it.
A certificate change needs no action if you connected with a metadata URL, because Hercules downloads the provider's metadata daily and retrieves the new signing certificate. With an uploaded metadata file, choose Replace metadata after the provider rotates its certificate.
Yes, when your organization's plan includes SSO. A cloned app keeps the same identity provider and the Only SSO users setting.
A transferred app loses SSO, because the identity provider belongs to your organization. An app set to Only SSO users goes back to Allow everyone, so set up SSO again in the new organization.
Turn on SSO next to your current sign-in methods, and switch to Only SSO users once your team has used it. The single sign-on docs cover each step. Start building.