acme.com. Verification happens once, through a DNS record, and unlocks the identity and provisioning features that depend on knowing which users belong to your company.
Once a domain is verified, Lovable can treat anyone signing in with an email on that domain (for example jane@acme.com) as a member of your organization, and apply your workspace’s authentication and provisioning rules to them.
- Available on: Business and Enterprise plans
- Access: Workspace admins and owners
- Location: Identity (Settings → Access → Identity → Verified domains)
Why verify a domain
You need at least one verified domain before you can use most workspace identity features:- SSO: connect a SAML or OIDC identity provider for your workspace. See Set up workspace single sign-on (SSO).
- Enforce SSO: require all workspace members to sign in through your identity provider.
- Verified email sign-up: automatically add users who sign up with an email on your verified domain to your workspace, with a default role you choose. No SSO needed.
- SSO sign-in provisioning: automatically add users to your workspace the first time they sign in through your SSO provider.
- Add existing users: a one-time action that adds existing Lovable users with verified-domain emails to your workspace.
- SCIM provisioning: sync users and groups from your identity provider on the Enterprise plan. See Set up SCIM user provisioning.
- Branded app URLs: publish apps under a workspace subdomain derived from your verified domain. See Publish apps with branded URLs.
Prerequisites
- A workspace on the Business or Enterprise plan.
- An owner or admin role in the workspace.
- Access to your domain’s DNS settings (through your DNS provider, such as Cloudflare, GoDaddy, or AWS Route 53).
Verify a domain
Add your domain in Lovable
acme.com. Wildcards are not supported.Create the DNS TXT record
Wait for DNS propagation
Verify the domain
How domain verification works
- Verification is a one-time check. Lovable checks the DNS record when you click Verify domain. Verified domains do not expire and are not re-checked later.
- You can verify multiple domains. Add each domain your organization uses, for example
acme.comandacme.co.uk. - Verifying a domain does not reserve it. Another workspace can verify the same domain. If your organization runs several workspaces, each one verifies the domain separately.
- Changes are audited. Adding and removing verified domains is recorded in your workspace audit logs.
Remove a verified domain
- Go to Identity (Settings → Access → Identity).
- In the Verified domains list, click the trash icon next to the domain.
- Confirm in the Delete verified domain dialog.
Troubleshooting
Could not find TXT record for domain
Could not find TXT record for domain
- The record has not propagated. DNS changes can take up to 72 hours, though minutes is typical. Wait and try again.
- The record is on the wrong host. The TXT record must be on the root of the domain (
@), not on a subdomain likewww. - The value does not match. The value must be the full
lovable_verification=token exactly as shown, with no extra characters or quotes added by your DNS provider.
Could not lookup TXT record for domain
Could not lookup TXT record for domain
The domain shows as already verified
The domain shows as already verified
FAQ
Do I need a verified domain to set up SSO?
Do I need a verified domain to set up SSO?
Does domain verification expire?
Does domain verification expire?
Can I remove the TXT record after verification?
Can I remove the TXT record after verification?
Can two workspaces verify the same domain?
Can two workspaces verify the same domain?
What happens to members if I delete a verified domain?
What happens to members if I delete a verified domain?
Can I restrict sign-ups on my domain to SSO only?
Can I restrict sign-ups on my domain to SSO only?