# OIDC

Configure OpenID Connect single sign-on for your organization.

Source: https://statusdashboard.com/docs/security/sso/oidc

OpenID Connect (OIDC) connects your organization to any OIDC-compliant identity provider, such as Okta, Microsoft Entra ID, or Auth0. Admins register a provider on the **Single Sign-On** page and map it to one or more email domains; matching users are redirected to your IdP at login.

The sections below list the redirect URI, required scopes, client authentication settings, and attribute mapping StatusDashboard expects from your IdP application.

***

## Redirect URI
OpenID Connect (OIDC) lets you connect your organization to any OIDC-compliant identity provider — including Okta, Microsoft Entra ID (Azure AD), Auth0, and others. When SSO is configured, users whose email domains match the provider are redirected to your IdP to sign in.

When creating the OIDC application in your identity provider, set the redirect (callback) URI to the value shown on the **Single Sign-On** page under **Configure this value in your Identity Provider**.

> Retrieve the exact Redirect URI for your environment from the **Single Sign-On** page in your account settings.

## Required scopes
The application must request the following scopes:

```
openid email profile
```

Your IdP must return the user's email address in the ID token or via the UserInfo endpoint.

## Client authentication method
StatusDashboard uses &#x2A;*`client_secret_post`** to authenticate with the token endpoint. Ensure your IdP application is configured to accept this method (as opposed to `client_secret_basic`).

## Setup guide
### Step 1 — Get the redirect URI
Click **Add Provider**. Select **OIDC** as the provider type. Note the **Redirect URI** shown in the blue info card — you will need this when creating the application in your IdP.

### Step 2 — Create an OIDC application in your IdP
In your identity provider, create a new OIDC (or OAuth 2.0) application:

* **Application type** — Web application
* **Redirect URI** — the Redirect URI from Step 1
* **Grant type** — Authorization Code
* **Scopes** — `openid`, `email`, `profile`
* **Client authentication** — `client_secret_post`

Once created, note the **Client ID**, **Client Secret**, and **Issuer URL** — you will need these in the next step.

Assign the application to the users or groups that should have access to StatusDashboard.

### Step 3 — Enter your IdP details
Back in StatusDashboard, fill in the provider fields:

| Field                      | Description                                                              |
| -------------------------- | ------------------------------------------------------------------------ |
| **Provider name**          | A display name for this provider (e.g. Okta, Azure AD).                  |
| **Issuer URL**             | The base URL of your IdP. Must be a valid HTTPS URL. Used for discovery. |
| **Client ID**              | The client ID assigned to your application by the IdP.                   |
| **Client Secret**          | The client secret assigned to your application by the IdP.               |
| **Authorization endpoint** | The URL users are redirected to for sign-in.                             |
| **Token endpoint**         | The URL used to exchange the authorization code for tokens.              |
| **UserInfo endpoint**      | The URL used to retrieve profile attributes after authentication.        |
| **JWKS URI**               | The URL of the IdP's public key set, used to verify ID tokens.           |

Many IdPs publish these endpoint URLs in a discovery document at `{issuer}/.well-known/openid-configuration`. Click **Discover** next to the Issuer URL field to auto-populate the endpoint fields.

### Step 4 — Configure email domains
Add the email domains whose users should be routed to this provider (e.g. `acme.com`). When a user enters their email on the sign-in page, StatusDashboard matches the domain to the correct SSO provider. Domains must be unique across all providers in your organization.

### Step 5 — Enable and save
Toggle **Provider enabled** on, then click **Create Provider**. Test by signing in with an account from your IdP to verify the connection before rolling it out to your team.

## Updating the configuration
To update a provider (for example, when rotating the client secret), click the edit icon next to the provider and update the relevant fields. You must re-enter the **Client Secret** on every save — it is not displayed after the initial configuration.

## Removing OIDC SSO
To remove a provider, click the delete icon next to it on the **Single Sign-On** page and confirm. This immediately disables SSO for the associated domains and removes the provider configuration.

## Sign-out behavior
When a user signs out, their active session is terminated and they are redirected to the StatusDashboard login page.

> The IdP-side session (the session your identity provider holds) is **not** automatically cleared at sign-out. This means a user who signs out and immediately returns may be silently re-authenticated by their IdP without being prompted to enter credentials again. This is a known limitation of StatusDashboard-federated SSO for both SAML and OIDC. To fully end the IdP session, the user should close their browser.
