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

# Single sign-on for enterprise workspaces

> See how SSO works in your enterprise workspace. Choose a provider, verify domains, set a default role, require SSO for all members, and understand login flows.

Single Sign-On (SSO) lets your organization's members access Base44 using your company's login credentials instead of separate passwords. When you enable SSO, your team can sign in using your organization's identity provider (such as Google or Microsoft Entra ID), which streamlines onboarding and reduces security risks from weak or reused passwords.

> [!NOTE]
>
> **Good to know:**
>
> * You need an [Enterprise plan](https://base44.com/pricing) (Business or Enterprise) to use workspace SSO. Workspaces created before October 2026 can also use workspace SSO on the Elite plan.
> * When SSO is enabled, anyone with a verified email domain sees SSO on the login page. After they sign in, they are automatically added to the workspace with the default role you configure.

***

## Supported SSO providers

Choose your provider to set it up, or follow the general [SSO setup guide](https://docs.base44.com/Enterprise/Set-up-SSO.md).

> [card] [Google Workspace](https://docs.base44.com/Enterprise/Set-up-SSO.md#google-workspace)

> [card] [Microsoft Entra ID](https://docs.base44.com/Enterprise/Microsoft-Entra-SSO.md)

> [card] [Okta](https://docs.base44.com/Enterprise/Okta-SSO.md)

> [card] [GitHub](https://docs.base44.com/Enterprise/Set-up-SSO.md#github)

> [card] [Any OIDC provider](https://docs.base44.com/Enterprise/Set-up-SSO.md#any-other-oidc-provider)

***

## Verifying domains

Verified domains control which people see SSO on the login page. When you verify a domain, any user with a matching email address is prompted to sign in with SSO automatically. This includes members who have been invited to your workspace but have not yet signed in for the first time.

You can add as many domains as you need, which is useful if your organization has multiple email domains.

**To add a verified domain:**

1. Click your workspace name at the bottom left of your account.
2. Click **Settings**.
3. Click **Authentication**.
4. In the **Verified Domains** section, type your domain (for example, company.org) and click **Verify**.
5. Add the DNS TXT record shown to your domain provider and wait for it to propagate.

Once verified, the domain appears in the list with a green checkmark. To remove a domain, click **Remove** next to it.

> [!NOTE]
>
> Adding a verified domain does not affect members already added via SCIM or invitation. It only controls SSO discovery on the login page.

***

## Setting a default role

When a user signs in with SSO for the first time and is added to your workspace automatically, they receive the default role you configure here. This applies only to people added through just-in-time (JIT) provisioning, not to members already added via SCIM or invitation.

Setting the default role to **No access** instead turns away anyone who is not already a workspace member when they sign in, rather than adding them automatically. Existing members and pending invites are not affected.

**To set the default role:**

1. Click your workspace name at the bottom left of your account.
2. Click **Settings**.
3. Click **Authentication**.
4. Under **Default role for SSO auto-provisioned users**, select **No access**, **Viewer**, or **Editor** from the dropdown.

![The Default role for SSO auto-provisioned users dropdown open, showing Viewer, Editor, and No access](https://mintcdn.com/base44/4lOZlF-NX1U7CVNj/images/enterprise-default-role.png?fit=max\&auto=format\&n=4lOZlF-NX1U7CVNj\&q=85\&s=f35283b3eab95e7782a74638a42327ef)

The default-role dropdown in Authentication, showing No access, Viewer, and Editor

***

## Requiring SSO

By default, members can sign in to your workspace either through SSO or with the login method set on their Base44 account. To tighten access, you can require every workspace member to sign in through your SSO provider. This is different from [enforcing SSO for all apps](https://docs.base44.com/Enterprise/Enterprise-SSO-and-app-visibility.md#enforcing-sso-for-apps), which controls how your published app's users sign in, not how your workspace members sign in.

> [!TIP]
>
> **Before you require SSO:** [Set up SSO](https://docs.base44.com/Enterprise/Set-up-SSO.md) and turn it on for your workspace. The setting appears in **Authentication** only after that.

**To require SSO for all workspace members:**

1. Click your workspace name at the bottom left of your account.
2. Click **Settings**.
3. Click **Authentication**.
4. Turn on **Require SSO for all workspace members**.
5. Select **Exempt guests from SSO** if guest members should keep signing in with a password or Google.

![The Authentication page with Require SSO for all workspace members turned on and Exempt guests from SSO ticked](https://mintcdn.com/base44/4lOZlF-NX1U7CVNj/images/sso-all-members.png?fit=max\&auto=format\&n=4lOZlF-NX1U7CVNj\&q=85\&s=188853f92221363c84eb618ae2b90f25)

Requiring SSO for workspace members

> [!NOTE]
>
> Requiring SSO applies only after a workspace admin completes a successful SSO sign-in. Until then, the setting shows **Not active yet**, so you can't lock yourself out.

***

## Signing in with SSO

How members reach the right workspace depends on their accounts and how many SSO workspaces they belong to.

### Using a personal account

If a member was invited through your SSO provider and also has a personal Base44 account registered with the same email, they see 2 options on the login screen:

* **Sign in with SSO:** Takes them to your organization's workspace.
* **Sign in with email and password:** Takes them to their personal workspace.

If you have [required SSO for all workspace members](#requiring-sso), the member cannot reach your organization's workspace with their personal email and password. They must sign in with SSO.

### Using several SSO workspaces

If a member belongs to 2 or more workspaces that use SSO, even with different providers, they see a workspace picker at login to choose where to go. Inside their Base44 account, they can also use the workspace switcher to move between workspaces.

***

## Requiring two-factor authentication

Two-factor authentication (2FA) adds a second check, such as a code from an authenticator app, each time someone signs in to Base44. As a workspace owner or admin, you can require every member to have it on their Base44 account before they can open your workspace.

> [!NOTE]
>
> **What happens for members:**
>
> * Members without two-factor authentication can't open your workspace until they turn it on. They can still sign in to Base44 and use their other workspaces, and they get an email with a link to set it up.
> * Members who must sign in with SSO aren't affected, because your identity provider handles their 2FA. If SSO is optional in your workspace, members still need two-factor authentication.
> * Guests who don't sign in with SSO need two-factor authentication too.
> * If anyone, including you, turns off two-factor authentication later, they lose access to your workspace until they turn it back on.
> * If you lose access, turn two-factor authentication back on to get back in. Another owner or admin can also turn off the requirement, and if you can no longer use your 2FA method, [contact Customer Care](https://docs.base44.com/Community-and-support/Contacting-support.md) to reset it.

The setting shows how many members already have 2FA or sign in with SSO, so you can see who would lose access before you turn it on.

> [!WARNING]
>
> You need an [Enterprise plan](https://base44.com/pricing) (Business or Enterprise) to require two-factor authentication.

> [!TIP]
>
> **Before you require two-factor authentication:** Turn on two-factor authentication for your own account first, so you don't lose access to your workspace. Learn how to [set up two-factor authentication](https://docs.base44.com/documentation/account-and-billing/securing-your-account.md#two-factor-authentication).

**To require two-factor authentication:**

1. Click your workspace name at the bottom left of your account.
2. Click **Settings**.
3. Click **Authentication**.
4. Turn on the **Require two-factor authentication** toggle.
5. Review the members who will lose access, then click **Require 2FA**.

![A screenshot of the Authentication settings page with the Require two-factor authentication setting outlined](https://mintcdn.com/base44/UmgoTrMlkO0CoKCR/images/require-2fa-authentication-setting-v3.png?fit=max\&auto=format\&n=UmgoTrMlkO0CoKCR\&q=85\&s=bca741aa9033cd21f60b52a224719dd3)

Requiring two-factor authentication for workspace members

***

## FAQs

Select a question below to learn more.

> [accordion] Can I enable SSO for only some members of my workspace?
>
> No. Once SSO is enabled for your workspace, all members with a matching email domain are required to use SSO for login.

> [accordion] How do I test that SSO is working after setup?
>
> Invite a colleague with the approved email domain to log in using SSO. If they can sign in and are added as a member, your SSO configuration is working.

> [accordion] Can I disable SSO later if my organization's needs change?
>
> Yes. Workspace admins can disable SSO from **Authentication** in your workspace settings at any time.


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