SSO Integration

Configure Single Sign-On (SSO) for the Granica platform using OIDC or SAML 2.0.

Granica supports Single Sign-On (SSO) via two industry-standard protocols: OpenID Connect (OIDC) and SAML 2.0. Once configured, users authenticate through your existing identity provider rather than managing separate Granica credentials.

Granica SSO configuration page

Supported protocols

OpenID Connect (OIDC)

OIDC is an identity layer built on top of OAuth 2.0. Granica acts as a confidential OIDC client using the Authorization Code flow. Configuration requires a Discovery URL (.well-known/openid-configuration), a Client ID, and a Client Secret.

Supported OIDC identity providers:

Identity ProviderSetup Guide
OktaImplement Authorization Code with PKCE
Microsoft Entra IDRegister an app in Entra
Google WorkspaceOpenID Connect on Google
Auth0Application Settings
AWS IAM Identity CenterConfigure OIDC grant
KeycloakUse the standard OIDC discovery URL from your Keycloak realm.
Custom / GenericAny OpenID Connect Core 1.0 compliant provider.

SAML 2.0

Granica acts as a SAML Service Provider (SP). Configuration requires importing IdP metadata (via URL or XML file) and registering Granica's SP metadata with your identity provider.

Supported SAML 2.0 identity providers:

Identity ProviderSetup Guide
OktaConfigure via SP metadata URL or XML upload in Okta Admin Console under Applications → SAML Settings → Edit → Configure SAML.
Microsoft Entra IDConfigure via Entra Enterprise Application SAML blade — Enterprise Applications → Single sign-on → SAML → Basic SAML Configuration.
Google WorkspaceConfigure via Apps → Web and mobile apps → Add custom SAML app in Google Admin Console. Note: assertion encryption is not supported for Google Workspace SAML.
Auth0Configure via Applications → Addons → SAML2 Web App → Settings by pasting the Granica-generated JSON.
AWS IAM Identity CenterConfigure via Applications → Add custom SAML 2.0 application by uploading Granica's SP metadata XML. Note: users must be pre-provisioned in Granica before they can sign in (SCIM auto-provisioning is not supported).
Custom / GenericAny SAML 2.0-compliant provider. Use the raw SP values (Entity ID, ACS URL, SLO URL, SP certificate) or download the SP metadata XML.

Configuration steps

SSO is configured in the Granica Console under Settings → SSO. The wizard walks through five steps:

  1. Vendor — Pick your identity provider. Granica autofills recommended defaults and shows only the fields your provider needs.
  2. IdP config — Register Granica as a client or SP in your identity provider using the values provided (redirect URIs, ACS URL, Entity ID, metadata URL, etc.).
  3. Import — Import your identity provider's metadata back into Granica (discovery URL for OIDC, or IdP metadata URL/XML for SAML).
  4. Security — Review signing and encryption settings. Granica signs outbound requests by default for SAML; encryption settings can be adjusted here.
  5. Test & enable — Run a test login to verify the configuration before enabling SSO for all users.

Break-glass access

Granica supports designated break-glass users who can always log in with local credentials, even if SSO is misconfigured or your identity provider is unavailable. Configure break-glass users in Settings → SSO before enforcing SSO to ensure you are never locked out.

Enforcement modes

ModeDescription
DisabledSSO is not active. Users log in with local credentials.
TestSSO is configured and can be tested, but local login remains available for all users.
EnforcedAll users must authenticate via SSO. Local login is disabled except for break-glass users.
Was this page helpful?

On this page