# Single sign-on (SSO) with OpenID Connect

> Set up single sign-on for Commentpin with Okta, Microsoft Entra ID, Google Workspace or any OpenID Connect provider, and verify your email domain.

Source: https://commentpin.com/docs/single-sign-on
Last updated: 2026-12-03

## How does single sign-on work in Commentpin?

Single sign-on lets your team sign in to Commentpin through the identity provider you already use, such as Okta, Microsoft Entra ID or Google Workspace. You connect one OpenID Connect app to your team and verify your email domain. After that, anyone with an email on that domain can sign in with SSO and joins your team as a member.

Only owners and admins can set it up, from **SSO** in the dashboard.

## 1. Create an OpenID Connect app

In your identity provider, create a web application that uses OpenID Connect. The SSO page in the dashboard shows the sign-in redirect URI to enter. It looks like this:

```text
https://commentpin.com/api/auth/sso/callback/cp-yourteamid
```

Give the app the `openid`, `email` and `profile` scopes, and assign the people who should have access.

## 2. Enter the app details

On the SSO page, enter:

- **Email domain**, such as `acme.com`.
- **Issuer URL**, such as `https://acme.okta.com` or `https://login.microsoftonline.com/<tenant-id>/v2.0`. Commentpin reads the provider's settings from the issuer's `/.well-known/openid-configuration`.
- **Client ID** and **client secret** from the app.

## 3. Verify your domain

The SSO page then shows a TXT record. Add it at your DNS provider, wait a few minutes, and select **Check DNS record**. Sign-in through SSO starts working once the record is found.

## Signing in

On the sign-in page, people select **Sign in with SSO**, enter their work email and continue to your identity provider.

## Self-hosting

Single sign-on works the same on a self-hosted install. Okta, Microsoft Entra ID, Google, Auth0, OneLogin, JumpCloud and Ping are allowed by default. For another provider, add its address to `SSO_IDP_ORIGINS` (see [configuration](/docs/configuration)).

## FAQ

### Which identity providers work?

Any provider that supports OpenID Connect, including Okta, Microsoft Entra ID, Google Workspace, Auth0, OneLogin, JumpCloud and Ping. SAML is not offered in the dashboard yet.

### Which plan includes single sign-on?

Pro, with no extra charge for single sign-on. Self-hosted installs include it too.

### Why do I have to verify my domain?

Single sign-on lets your provider sign people in by their email address. The DNS record proves your team owns the domain, so nobody else can set up a provider for your email addresses.

### What happens to people who already have an account?

When they sign in with SSO, their existing account is linked, because the email is on your verified domain. They keep their projects and history.

### Can people still sign in with an email link?

Yes. Email links keep working. Single sign-on is an extra way to sign in, not a requirement.
