> ## Documentation Index
> Fetch the complete documentation index at: https://docs.gameball.co/llms.txt
> Use this file to discover all available pages before exploring further.

# How Do I Set Up Single Sign-On (SSO) for My Dashboard?

> Set up OpenID Connect single sign-on so your team signs in to the Gameball dashboard with your company identity provider.

| Platform | Plan |
| - | - |
| Shopify | Plans that include Single Sign-On |
| Salla | Plans that include Single Sign-On |
| Non-platform Clients | Plans that include Single Sign-On |

> [!NOTE]
>
> Single sign-on is a plan feature. If you don't see **Single sign-on** in your settings, contact [Support](mailto:support@gameball.co) to add it to your plan.

**Gameball's Single Sign-On (SSO)** lets your team sign in to the Gameball dashboard with your company identity provider instead of a Gameball password. It uses OpenID Connect (OIDC) and works with Microsoft Entra ID, Okta, Google Workspace, and any other OIDC provider.

***

## How SSO Works

Gameball checks the domain of the email a teammate enters, sends them to your identity provider to sign in, and then opens the dashboard. Gameball never receives their company password.

```mermaid theme={null}
flowchart LR
    A["Teammate enters work email"] --> B{"Is the email domain verified for SSO?"}
    B -->|"No"| C["Sign in with password"]
    B -->|"Yes"| D["Redirect to your identity provider"]
    D --> E["Teammate signs in"]
    E --> F{"Is the teammate invited to this workspace?"}
    F -->|"Yes"| G["Open the Gameball dashboard"]
    F -->|"No"| H["Show an error: ask the owner for an invitation"]
```

> [!NOTE]
>
> SSO does not create accounts. Every teammate must already be invited to your workspace. Invite them first, as described in [How to Create a New User](https://docs.gameball.co/product-documentation/admin-settings/create-user-assign-roles.md).

***

## Before You Start

* Sign in as the **account owner**. Only the owner sees **Single sign-on** in the settings.
* Have admin access to your identity provider, so you can register Gameball as an application.
* Have access to your domain's DNS settings, so you can add a TXT record that proves you own your email domain.
* Use a company email domain. Public mailbox domains, such as Gmail or Outlook, and Gameball domains can't be used.

***

## Set Up SSO

Go to **Gameball dashboard** > **Settings** > **Single sign-on**. The setup wizard has five steps.

**1. Choose Your Provider**

Select **Entra ID**, **Okta**, **Google Workspace**, or **Other OIDC**.

The page shows the values you need to register Gameball in your identity provider. Each value has a copy button:

* **Redirect URI**
* **Scopes**
* **Required claims**

In your identity provider, create a new OIDC web application with this redirect URI. Then copy the **client ID** and **client secret** it gives you.

**2. Enter the Connection Details**

Fill in the following fields, then click **Save**:

* **Authority**: your identity provider's issuer URL. It must start with `https://`.
* **Client ID**: the ID from your identity provider.
* **Client secret**: the secret from your identity provider.
* **Display name**: the name your team sees on the sign-in page.

Click **Test connection**. Gameball reads your provider's configuration and shows the issuer and the number of signing keys it found.

> [!NOTE]
>
> The client secret is write-only. Gameball stores it encrypted and never shows it again. To change it, enter a new one and save.

**3. Verify Your Email Domains**

Add each email domain your team uses, for example `company.com`. For each domain, Gameball shows a DNS TXT record:

* **Host**: `_gameball-sso.<your-domain>`
* **Value**: `gameball-sso-verification=<token>`

Add the record at your DNS provider, then click **Verify**. The domain changes from **Pending** to **Verified**.

> [!WARNING]
>
> Every domain must be verified with a DNS record. Subdomains are not covered, so verify `team.company.com` separately from `company.com`. A domain can be verified for only one Gameball client.

**4. Run a Test Login**

Click **Test login**. A new tab opens and sends you to your identity provider. After you sign in, you return to the settings page with a success or failure banner.

A test login does not sign you in to Gameball. It only confirms that the connection works.

**5. Turn On the Switches**

Use the switches at the bottom of the page:

* **Enable**: lets your team sign in with SSO. It stays locked until you have a successful test login and at least one verified domain.
* **Enforce**: requires SSO for your team. It stays locked until SSO is enabled and someone has signed in with SSO.
* **Skip Gameball 2FA**: skips Gameball's two-factor prompt after an SSO sign-in, because your identity provider already handles it.

***

## Enforce SSO

When you turn on **Enforce**, your teammates can no longer sign in with a password or with Google. Gameball asks you to confirm first.

> [!WARNING]
>
> You keep password access for **7 days** after you turn on enforcement, so you can recover if something goes wrong. After that, the owner must also sign in with SSO.

Enforcement applies to a teammate when their email domain is verified for your workspace, or when they have already signed in with SSO. A person who belongs to several clients is only blocked on the client that enforces SSO.

Gameball staff are never blocked by your enforcement settings.

> [!TIP]
>
> Before you enforce, make sure you have signed in with SSO yourself. Gameball requires this so the owner can't be locked out.

### What Changes for Your Team

| Action | When SSO is enforced |
| - | - |
| Sign in with a password | Refused. The user is sent to the SSO sign-in page. |
| Sign in with Google | Refused. |
| Forgot password | No email is sent. The screen explains that your organization signs in with SSO. |
| Reset or change password | Refused. |
| Invite a teammate | The invitation email links to the SSO sign-in page instead of a set-password page. |

On the team list under **Settings** > **Accounts**, users who sign in with SSO show an **SSO** tag. While SSO is enforced, **Reset password** and **Resend invitation** are hidden.

***

## Sign In with SSO

**1. Open the SSO Sign-In Page**

On the Gameball login page, click **Sign in with SSO**.

**2. Enter Your Work Email**

Enter your work email and click **Continue**. If your domain has SSO set up, you are redirected to your identity provider.

**3. Sign In to Your Identity Provider**

Sign in as usual. You return to Gameball and land on the dashboard.

> [!NOTE]
>
> If SSO isn't set up for your email domain, the page shows **Single sign-on isn't set up for this email**. Use **Sign in with password instead**, or ask your workspace owner.

If your account isn't invited to the workspace, the page shows **Your account isn't registered in this Gameball workspace. Ask your workspace owner to invite you.**

***

## Turn Off or Remove SSO

* **Disable SSO**: turn off the **Enable** switch. You can't disable SSO while it is enforced, so turn off **Enforce** first.
* **Delete the configuration**: use the delete option at the bottom of the page and confirm. You can't delete it while it is enforced.
* **Change the provider**: you can't change the authority or client ID while SSO is enabled. Disable SSO first.

***

## Locked Out of Your Dashboard

If SSO is enforced and your team can't sign in, for example because your identity provider is unavailable, contact [Support](mailto:support@gameball.co). Gameball Support can turn enforcement off for your workspace so your team can sign in with passwords again. Support can only turn enforcement off. Turning it on stays with you.

***

## Common Questions

> [accordion] Who can set up SSO?
>
> Only the account owner. Other roles, including admins, don't see the **Single sign-on** page.

> [accordion] Does SSO create user accounts automatically?
>
> No. Users must be invited to your workspace first. When an invited user signs in with SSO for the first time, Gameball links their identity provider account to their dashboard account.

> [accordion] Why can't I verify my domain?
>
> Check that the TXT record is on the exact host `_gameball-sso.<your-domain>`, that the value matches exactly, and that DNS changes have propagated. Public mailbox domains and domains already verified by another Gameball client can't be used.

> [accordion] Does Gameball support SAML?
>
> Not yet. SSO currently supports OpenID Connect only.

> [accordion] Do my teammates still need Gameball two-factor authentication?
>
> Only if you turn off **Skip Gameball 2FA**. By default, Gameball skips its own 2FA prompt after an SSO sign-in.

> [accordion] What happens if I remove Single Sign-On from my plan?
>
> SSO is turned off for your workspace, and your team goes back to signing in with passwords.

***

## Related Articles

> [card] [Create Users and Assign Roles](https://docs.gameball.co/product-documentation/admin-settings/create-user-assign-roles.md)
>
> Invite teammates and choose their roles before they sign in with SSO.

> [card] [Track User Activity](https://docs.gameball.co/product-documentation/admin-settings/track-user-activity.md)
>
> Audit configuration changes across your workspace.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.