KBAISE/ for lovable
Library
Docs

Set up organization identity: domains, SSO, and SCIM

about 25 minShippingchecked 7d agoOfficial page
The short version

Organization admins can verify company email domains, set up central login, and automatically manage members across all company workspaces. You can also choose whether the organization or individual workspace owners control security settings.

Organization administrators who need to set up unified login, domain ownership, and automated member access across multiple company workspaces.

Do this, in order

  1. 1

    Open Organization settings, navigate to Access, and select Identity.

    This is the central location where organization-wide domain, login, and member provisioning settings are managed.

  2. 2

    Click Add domain under Verified domains, enter your company domain, and add the shown DNS TXT record at your domain provider.

    You must prove ownership of your company email domains before Lovable allows you to connect SSO or SCIM.

  3. 3

    Click Add provider under Single sign-on, pick SAML or OIDC, and exchange configuration values between Lovable and your identity provider.

    This enables company members to log into workspaces using your organization's central identity system.

  4. 4

    Select a workspace row in the Workspaces table and click Add group under Provisioning groups to link identity provider groups to workspace roles.

    This automatically assigns employees to the right workspace with the correct role when they log in.

  5. 5

    Click Enable next to SCIM provisioning, configure group mappings and default roles, then copy the Base SCIM URL and API key into your identity provider.

    This automatically creates member accounts when employees join and removes them across Enterprise workspaces when they leave.

  6. 6

    Select each workspace row in the Workspaces table to enable Managed by the organization and enforce SSO.

    This locks identity settings so workspace admins cannot override organization security policies.

Paste this into your project

Guide me through setting up organization identity in Lovable: verifying our company domain with DNS TXT records, setting up SAML or OIDC SSO, configuring provisioning groups to route members to workspaces, and enabling SCIM provisioning for our Enterprise workspaces.

Words decoded

SSO (Single Sign-On)
A login method that lets members log into Lovable using their company credentials instead of an email and password.
DNS TXT record
A snippet of text you paste into your domain host to prove your company owns the domain.
Identity provider (IdP)
The central service your company uses to manage accounts, such as Okta, Microsoft Entra ID, or Google Workspace.
SAML and OIDC
Standard technical formats that allow Lovable and your identity provider to securely talk to each other during login.
SCIM
An automated system that adds new hires to Lovable and removes departed employees without manual invites.
Provisioning group
A mapping rule that places members of a specific identity provider team into a specific Lovable workspace and role.
SSO JIT (Just-In-Time)
Automatically creating and adding a user to a workspace the first time they log in through SSO.

Where people get stuck

  • You cannot enable SCIM, domain blocking, or enforced admin SSO until you have verified at least one organization domain.
  • Copy the SCIM API key immediately when it is displayed, because Lovable will never show it again.
  • Organization SCIM requires at least one workspace in the organization to be on the Enterprise plan.
  • SCIM will never automatically remove an owner from a workspace they own; an administrator must remove them manually.
  • If mapped-group provisioning is enabled on a workspace without any provisioning groups defined, no one will be able to join it via SSO.
  • Rotating your SCIM API key breaks member synchronization immediately until you paste the new key into your identity provider.
  • Enabling 'Managed by the organization' prevents workspace admins and owners from modifying their workspace identity or security settings.

The short version, steps, decoder and prompt on this page are written automatically from Lovable's own documentation and can lag or misread it. The official page is always the authority.