Skip to content

SSO / OIDC

YipYap supports single sign-on (SSO) via the OpenID Connect (OIDC) protocol. This lets your team sign in with your existing identity provider instead of managing separate credentials. Providers that only speak plain OAuth2 also work if you supply their endpoints by hand.

Settings page with SSO selected in the side navigation, showing an empty SSO Connections list and the Add Connection button

  1. In your identity provider (Okta, Google Workspace, Entra ID, etc.), create a new OIDC application.
  2. Set the application’s redirect URI to https://console.yipyap.run/api/v1/auth/oidc/callback. See Callback URL.
  3. Copy the Client ID, Client secret, and Issuer URL from your identity provider.
  4. In YipYap, go to Settings > SSO and click Add connection.
  5. Fill in the form described under Configuration and click Save.
  6. Verify your email domain so that Sign in with SSO can find your organization. See Verifying your email domain.
  7. Test the connection from a private browser window with Sign in with SSO before you tell your team to use it.

Any OIDC-compliant identity provider works with YipYap, including:

  • Google Workspace
  • Microsoft Entra ID (Azure AD)
  • Okta
  • Auth0
  • Keycloak
  • Authentik
  • Zitadel

The Add connection form on Settings > SSO has these fields:

FieldDescription
Provider nameThe label for this connection, e.g. Okta.
Client IDThe OAuth client ID assigned by your IdP.
Client secretThe OAuth client secret. When you edit a connection, leave it blank to keep the stored secret.
Issuer URL (OIDC discovery)The issuer, e.g. https://accounts.google.com. YipYap reads the provider’s discovery document from it.
Authorize URL, Token URL, Userinfo URLShown only when Issuer URL is blank. Use these for plain OAuth2 providers.
ScopesComma-separated. Defaults to openid,email,profile.
Create accounts for new people on their first SSO sign-inCreates a YipYap account for a person who signs in through the IdP and has no account yet.
Role for new accountsViewer, Member, or Admin. Only the organization owner can choose Admin.
EnabledTurn a connection off without deleting it.

Once anyone has signed in through a connection, only the organization owner can change its Client ID, Issuer URL, or endpoint URLs. Pointing a connection at a different identity provider would let that provider sign in as every linked member.

Enter this URL in your identity provider’s list of authorized redirect URIs:

https://console.yipyap.run/api/v1/auth/oidc/callback

It is the same for every connection. The YipYap settings page does not display it, so copy it from here. It must match exactly, including the /api/v1 prefix and no trailing slash.

Sign in with SSO finds an organization by the domain of the email address a person types, for example example.com in [email protected]. It only uses domains that the organization has verified, so nobody can route your users to their identity provider by claiming your domain.

To verify a domain, an owner or admin:

  1. Goes to Settings > SSO and adds the domain.
  2. Copies the DNS TXT record that YipYap shows for it.
  3. Adds that record at the domain’s DNS provider, then returns to Settings > SSO and clicks Check DNS. DNS changes can take a while to be visible.

Once the record is found, the domain is marked verified. Keep the TXT record in place. Verifying a domain also covers its subdomains, so example.com is enough for eng.example.com. Add another domain only when members use a different one.

On the YipYap sign-in page, click Sign in with SSO and enter your work email. YipYap looks up the organization that verified your email’s domain and sends you to that organization’s identity provider. After you sign in there, you return to YipYap signed in.

If no organization has verified the domain, YipYap does not start SSO. Sign in with your password instead, or ask your administrator to verify the domain.

Each connection also has its own sign-in link, which you can add to your IdP’s app dashboard so people can start from there:

https://console.yipyap.run/api/v1/auth/oidc/<connection-id>

To find the connection ID, list your organization’s connections as an owner or admin:

Terminal window
curl -fsS "https://console.yipyap.run/api/v1/org/oidc-connections" \
-H "Authorization: Bearer $YIPYAP_SESSION_TOKEN"

Each entry has an id, which is the connection ID, and a provider, which is the Provider name you entered. Your organization slug is not part of the link. The same list is on Settings > SSO.

After sign-in, YipYap reads these claims from the provider’s ID token. It checks the token’s audience, expiry and the nonce for that sign-in attempt, and its signature when the connection uses an Issuer URL. Claims missing from the ID token are read from the userinfo endpoint. Plain OAuth2 connections, which return no ID token, use the userinfo endpoint only.

OIDC ClaimYipYap Attribute
emailUser email
email_verifiedMust be true, or sign-in is refused
subExternal user ID

YipYap matches a returning user by the sub claim. Claim names cannot be remapped.

YipYap never links an SSO identity to an existing account on its own, even when the email addresses match. The person who owns the account confirms the link while signed in with their password, so whoever controls an identity provider cannot take over an account that signs in with a password.

YipYap only accepts an email address that your identity provider marks as verified (the email_verified claim). On a first SSO sign-in:

  • No YipYap account has that email: if Auto-provision new users on first SSO login is on, YipYap creates an account with the connection’s default role and signs the person in. The new member gets their email address as a verified contact method with a rule that pages it at once, so escalation policies can reach them right away. Auto-provisioning only creates accounts for new email addresses. If it is off, sign-in fails; see Troubleshooting.
  • An account in your organization already has that email: YipYap does not sign the person in. It returns them to the sign-in page with “An account with this email exists. Sign in with your password, then connect SSO in Settings.” and holds an offer to link the identity they just used.
  • An account in another organization has that email: sign-in fails. One email address belongs to one organization.
  1. Start with Sign in with SSO and sign in at your identity provider. YipYap sends you back to its sign-in page with the message above.
  2. Sign in with your email and password in the same browser, and complete MFA if your account has it.
  3. YipYap shows a banner saying an SSO identity matches your account and asking whether to link it. Confirm it.

You do not sign in at the identity provider a second time. The offer is valid for 10 minutes and only for the account it names. If it expires, or you signed in on another browser, start again from step 1.

Once linked, you can sign in with either SSO or your password, unless your organization has turned on Enforce SSO.

Configuring SSO does not on its own turn off password sign-in. Members who have a YipYap password can keep using it until you turn on Enforce SSO.

Enforce SSO is an organization setting on Settings > SSO. Like the rest of the SSO tab, it needs a Pro or Enterprise plan, and only organization owners and admins can change it.

While it is on:

  • Members of your organization cannot sign in to it with a password. They sign in through your identity provider.
  • Organization owners can still sign in with their password. This keeps a way in if your identity provider is down or a connection is misconfigured, so protect owner accounts with MFA.

Turning Enforce SSO off restores password sign-in for everyone who has a password.

Removing a person under Settings > Members ends their access to your organization. Click Remove on their row and confirm. Their YipYap account is deleted, and every browser where they are still signed in is signed out on its next request, so you do not need to revoke their sessions as well.

What else you need to do depends on whether Enforce SSO is on.

With Enforce SSO on:

  1. Disable or remove the person in your identity provider, so they cannot start a new SSO sign-in.
  2. Click Remove on their row under Settings > Members. Disabling them in your identity provider does not sign out a browser that is already signed in to YipYap. That session keeps working until it expires, is revoked, or the person is removed.

With Enforce SSO off: disabling the person in your identity provider is not enough. If they have a YipYap password, they can still sign in with it. Click Remove on their row under Settings > Members.

If the person is the organization owner: owners cannot be removed, and they keep password sign-in even with Enforce SSO on. Hand the organization to someone else first with Transfer ownership on Settings > Members, then remove them.

API keys: keys the person created keep working after they are removed. Go to Settings > API Keys and click Revoke on any key that should not outlive their access. The list shows who created each key and when it was last used.

When your organization requires MFA, sessions that come through SSO are exempt from YipYap’s MFA requirement, because your identity provider is expected to handle the second factor. Require MFA for the YipYap application in your identity provider.

For a session that started with SSO:

  • YipYap does not ask for a second factor, does not show the MFA deadline banner, and does not start the member’s grace period.
  • Settings > Security shows “You signed in with SSO. Your identity provider handles two-factor authentication for this session.”
  • The exemption lasts for the whole session, including when YipYap renews it.

The exemption follows the session, not the person. If the same member signs in with a password, that session needs YipYap MFA, and their grace period starts then. See Organization Enforcement.

  • Redirect mismatch (redirect_uri_mismatch or similar): the redirect URI registered in your IdP must be exactly https://console.yipyap.run/api/v1/auth/oidc/callback.
  • Claims missing: make sure the email scope is requested and your IdP returns the email and email_verified claims in the ID token or from its userinfo endpoint.
  • “No account found for your identity”: the person has no YipYap account with that email and auto-provisioning is off. Add them with Invite member under Settings > Members, or turn on Create accounts for new people on their first SSO sign-in.
  • “An account with this email exists”: the person already has a YipYap password account. They sign in with the password and connect SSO, as described in Linking SSO to an existing account.
  • “The identity provider has not verified this email address”: YipYap needs email_verified to be true. Verify the address in your identity provider, or check that it sends email_verified in the ID token or from its userinfo endpoint.
  • “An account with this email exists in another organization”: the email is already used by a YipYap account in a different organization. Remove that account or use a different address.
  • “This sign-in connection is disabled”: turn Enabled back on for the connection under Settings > SSO.
  • Login loop: clear browser cookies and try again. Check that the issuer URL is correct and reachable from the internet.