Configure Lovable single sign-on (SSO) using OIDC or SAML 2.0 with your identity provider for secure, centralized workspace authentication.
Single sign-on (SSO) is available on Business and Enterprise plans and enables secure, centralized authentication across your organization. With SSO, users can access Lovable with one set of credentials, simplifying access management and improving security.
Service provider (SP)-initiated sign-in only: users must start sign-in from Lovable (SP).Identity provider (IdP)-initiated SSO (starting from an IdP dashboard tile) is not supported.
Supported SSO protocols
Lovable supports both OIDC and SAML 2.0 protocols, enabling integration with all major identity providers (IdP) including Okta, Auth0, Microsoft Entra ID (Azure AD), and more.
OpenID Connect (OIDC): recommended; a modern identity layer built on top of OAuth 2.0 that provides identity verification.
SAML (Security Assertion Markup Language) 2.0: XML-based protocol for exchanging authentication and authorization data, widely used in enterprise environments.
Prerequisites
To connect your identity provider to Lovable using OIDC or SAML, you need:
IdP admin access (Okta, Auth0, Microsoft Entra ID, or any other provider you’re using)
Lovable workspace owner or admin role
A verified domain in Lovable
Start SSO setup in Lovable
SSO configuration is a two-way setup between Lovable and your identity provider:
Lovable → IdP: copy Lovable URLs and settings into your IdP app.
IdP → Lovable: copy your IdP’s issuer, metadata, and certificates back into Lovable.
The workspace owner or admin can set up SSO. To start, go to Settings → Workspace → Identity → Add SSO provider, then choose OIDC or SAML.
IdP configuration reference
When you start the SSO provider setup in Lovable, you see:
What to configure in your IdP (for example, app type, scopes, and attribute mappings)
Lovable URLs and identifiers you may need to enter in the IdP.
Use the reference below while configuring OIDC or SAML in your IdP.
OIDC
SAML
Application type: Web Application
Grant type: Authorization Code
Token method: POST (if configurable)
Redirect URI to copy and add to your IdP: https://auth.lovable.dev/__/auth/handler
SP Entity ID / Audience URI: https://auth.lovable.dev/__/auth/handler
Attribute mappings:
email (required): ensure the format is set to EmailAddress
displayName (recommended): map to user’s full name
photoURL (recommended): map to user’s profile picture URL
Provider-specific setup guides
If you use Okta, Auth0, or Microsoft Entra, you can find provider-specific documentation for setting up SSO. If you use another provider, see Configure other providers.Before you begin, complete Start SSO setup in Lovable to get the settings and values you need to use in your IdP.
Configure Okta as your SSO provider
OIDC
SAML
1
Create an application in Okta Admin Console
Under Applications, click Create App Integration and select OIDC. Then select the Web Application application type.
Give the app a name, for example Lovable OIDC SSO.
2
Configure OIDC integration
Set Grant type to Authorization Code
Remove the default redirect URIs.
Add the Lovable redirect URL to Okta Sign-in redirect URIs: https://auth.lovable.dev/__/auth/handler
Select Assignments: assign the application to your users/groups who should access Lovable.
3
Save application
Click Save. Your application is now created in Okta.
4
Configure Okta Issuer URL
In Okta, go to Sign On → OpenID Connect ID Token, select Okta URL from the Issuer dropdown, and Save.
5
Provide Lovable with your IdP information
In Okta, copy the following value from the Sign On tab and enter it in Lovable.
In Okta, copy the following values from the General tab and enter them in Lovable.
Okta Client ID → Lovable OAuth Client ID/Application ID
Okta Client Secret → Lovable OAuth Client Secret
6
(Optional) Test the configuration in Lovable
In Lovable, click Test configuration. If everything is configured correctly, the validation should be successful.
7
Finish OIDC provider configuration in Lovable
In Lovable, click Configure provider to finish the configuration of Okta as your OIDC SSO provider.
1
Create an application in Okta Admin Console
Under Applications, click Create App Integration and select SAML 2.0.
Give the app a name, for example Lovable SAML SSO.
2
Configure SAML settings
Single sign-on URL: https://auth.lovable.dev/__/auth/handler
Audience URI (SP Entity ID): https://auth.lovable.dev/__/auth/handler
Name ID format: EmailAddress
3
Save application
Click Finish. Your application is now created in Okta.
4
Provide Lovable with your IdP information
In Okta, go to Sign On → SAML 2.0 → Metadata details, copy the Metadata URL and open it in a new tab.Copy the following Metadata URL values and enter them in Lovable:
Okta SingleSignOnService Location → Lovable SAML SSO Sign-on URL from your IdP
Okta EntityID → Lovable Identity Provider Entity ID / Issuer
Download Auth0 certificate and copy the X509Certificate value. Paste the certificate value between the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines.
5
Finish SAML provider configuration in Lovable
In Lovable, click Configure SAML Provider → Confirm & Enable SSO to finish the configuration of Auth0 as your SAML SSO provider.
Configure Microsoft Entra ID as your SSO provider
SAML
1
Create an enterprise app in Microsoft Entra admin center
Under Enterprise applications, select New application.
Select Create your own application and choose Integrate any other application you don’t find in the gallery (Non-gallery).
Give the app a name, for example Lovable SAML SSO.
Click Create. Your application is now created.
2
Configure SAML SSO
In Microsoft Entra, navigate to the Single sign-on setup page and select SAML. Under Basic SAML Configuration, enter the following:
Reply URL (Assertion Consumer Service URL): https://auth.lovable.dev/__/auth/handler
Leave the other values blank and select Save.
3
Provide Lovable with your IdP information
When the application is set up, copy the following values and enter them in Lovable.
Microsoft Entra Login URL → Lovable SAML SSO Sign-on URL from your IdP
Microsoft Entra Microsoft Entra Identifier → Lovable Identity Provider Entity ID / Issuer
Microsoft Entra X509Certificate → Lovable X.509 Signing Certificate (public key)
You can download the certificate (Base 64) or open the App Federation Metadata URL in a new tab and copy the X509Certificate value. Paste the certificate value between the -----BEGIN CERTIFICATE----- and -----END CERTIFICATE----- lines.
4
Finish SAML provider configuration in Lovable
In Lovable, click Configure SAML Provider → Confirm & Enable SSO to finish the configuration of Microsoft Entra ID as your SAML SSO provider.
Configure other providers
You can configure any OIDC or SAML-compliant provider with Lovable SSO.Before you begin, complete Start SSO setup in Lovable to get the settings and values you need to use in your IdP.
OIDC
SAML
Provider mappingCommon field names across providers:
Ensure email is included in the SAML assertion. displayName is optional.
4
Assign users
Assign the application to users/groups who should access Lovable.
Troubleshooting
OIDC
SAML
Invalid or mismatched Redirect URI
Ensure the redirect/callback URL exactly matches https://auth.lovable.dev/__/auth/handler in your IdP.
Issuer URL / discovery fails
Use the provider’s OIDC Issuer URL (not just the domain).
For Okta, copy from the Sign-on tab
For Auth0, use your tenant domain.
Email not returned
Grant the email scope and ensure the user account has a primary email.
Authorization flow issues
Use Authorization Code with a confidential client and client secret. Avoid implicit or PKCE-only app types.
Invalid ACS or Audience
Ensure both ACS and Audience/Entity ID exactly match https://auth.lovable.dev/__/auth/handler in your IdP.
Email claim missing
Make sure to map an email claim.For Microsoft Entra ID, map email to user.mail. If user.mail is empty, use user.userprincipalname.
Provider credentials invalid
Paste the correct X.509 certificate. If the certificate rotates, update it in Lovable.
FAQ
I already have an account, but I'm joining a business workspace that uses SSO. How do I log in?
If you created your account using another login method (like email/password, Google, or GitHub), you need to log in that way first. Once you’re logged in, navigate to Settings → Your account → Link SSO. This will link your existing account to your company SSO.
Important: If you attempt to log in with SSO before linking your existing account, you’ll see an error. This is a security measure to prevent unauthorized access. Log in using your original method first to complete the linking process.
Which SSO providers does Lovable support?
Lovable supports the industry-standard OIDC and SAML protocols, so you can integrate with any SSO provider that supports them.
Does Lovable support multiple SSO providers per workspace?
No. A workspace can have one active SSO provider configured at a time.
Can I enforce SSO for my workspace?
Yes. The workspace owner or admin can enable Enforce SSO in Settings → Workspace → Identity and choose the session duration to configure how long users stay signed in before requiring re-authentication (24 hours, 48 hours, or 7 days).This requires all workspace members to use SSO for authentication. External collaborators and invite links will be disabled.
Does Lovable support IdP-initiated SSO?
No. IdP-initiated SSO (starting from an IdP dashboard tile) is not supported.Lovable supports SP-initiated sign-in only. Users must start sign-in from Lovable.
Does Lovable support SCIM or automatic user provisioning?
Lovable supports JIT (just-in-time) provisioning: user accounts are created automatically the first time someone signs in via SSO, and they’re added to your company workspace.You can also set a default role for JIT-created users (admin, editor, or viewer) that will be applied when they join via SSO for the first time.
How can I find my tenant ID (SSO login identifier)?
Your tenant ID is the {tenantId} value used in your SSO login URL: https://lovable.dev/sso-login/{tenantId}. It matches the SSO login identifier you configured when setting up your SSO provider in Lovable.You can also find it in Settings → Workspace → Identity after you have configured your provider.
{"docsConfig":{"theme":"mint","$schema":"https://mintlify.com/docs.json","name":"Lovable Documentation","description":"Lovable Documentation — Build full-stack websites with AI using natural language. Explore Lovable features, integrations, tutorials, and best practices.","colors":{"primary":"#0095FF","light":"#1AA3FF","dark":"#0084E6"},"logo":{"light":"https://mintcdn.com/generaltranslation-d8a08cd1/At48MABj-G93zw7Y/assets/logo/logoblack.svg?fit=max\u0026auto=format\u0026n=At48MABj-G93zw7Y\u0026q=85\u0026s=ca1f70ffb8cc99cf980d91ff6495d89f","dark":"https://mintcdn.com/generaltranslation-d8a08cd1/At48MABj-G93zw7Y/assets/logo/logowhite.svg?fit=max\u0026auto=format\u0026n=At48MABj-G93zw7Y\u0026q=85\u0026s=fef50f97d61a559e9cd2e1e8995e6350","href":"https://lovable.dev/"},"favicon":"/assets/logo/favicon.ico","navbar":{"links":[{"label":"Support","icon":"message","href":"https://lovable.dev/support"},{"label":"Blog","icon":"blog","href":"https://lovable.dev/blog"}]},"footer":{"socials":{"x":"https://x.com/Lovable","github":"https://github.com/lovablelabs","linkedin":"https://linkedin.com/company/lovable-dev","youtube":"https://youtube.com/@lovable","discord":"https://discord.gg/lovable-dev","reddit":"https://www.reddit.com/r/lovable/"}},"seo":{"metatags":{"og:image":"/assets/logo/opengraph-image.png","canonical":"https://docs.lovable.dev"},"indexing":"all"},"contextual":{"options":["copy"]},"styling":{"latex":true},"navigation":{"languages":[{"language":"en","href":"introduction/welcome"},{"language":"es","href":"es/introduction/welcome"},{"language":"ja","href":"ja/introduction/welcome"},{"language":"zh","href":"zh/introduction/welcome"},{"language":"fr","href":"fr/introduction/welcome"},{"language":"de","href":"de/introduction/welcome"},{"language":"pt-BR","href":"pt-BR/introduction/welcome"},{"language":"it","href":"it/introduction/welcome"}]}},"deployment":{"deploymentMetadataValue":{"subdomain":"generaltranslation-d8a08cd1","hasAudioNarration":false,"actualSubdomain":"generaltranslation-d8a08cd1","customDomains":["lovable.generaltranslation.app"],"gitSource":{"type":"github","owner":"gt-onboarding","repo":"lovable","deployBranch":"main","contentDirectory":"","isPrivate":false,"mountPath":"","label":"","_id":"6b10c7a59ffae5051c40799f"},"entitlements":{},"buildId":"6ae942e94c7ebc4d7c1907d3:success","clientVersion":"0.0.4458","searchFilterCounts":[{"language":"en","tag":"Integrations","count":22},{"language":"de","tag":"Integrationen","count":22},{"language":"es","tag":"Integraciones","count":22},{"language":"fr","tag":"Intégrations","count":22},{"language":"it","tag":"Integrazioni","count":22},{"language":"ja","tag":"連携","count":22},{"language":"pt-BR","tag":"Integrações","count":22},{"language":"zh","tag":"集成","count":22},{"language":"en","tag":"Features","count":16},{"language":"de","tag":"Funktionen","count":16},{"language":"es","tag":"Funciones","count":16},{"language":"fr","tag":"Fonctionnalités","count":16},{"language":"it","tag":"Funzionalità","count":16},{"language":"ja","tag":"機能","count":16},{"language":"pt-BR","tag":"Funcionalidades","count":16},{"language":"zh","tag":"功能特性","count":16},{"language":"en","tag":"Tips \u0026 Tricks","count":11},{"language":"de","tag":"Tipps \u0026 Tricks","count":11},{"language":"es","tag":"Consejos y trucos","count":11},{"language":"fr","tag":"Conseils et astuces","count":11},{"language":"it","tag":"Consigli e trucchi","count":11},{"language":"ja","tag":"ヒントとテクニック","count":11},{"language":"pt-BR","tag":"Dicas e truques","count":11},{"language":"zh","tag":"提示和技巧","count":11},{"language":"en","tag":"Introduction","count":4},{"language":"de","tag":"Einführung","count":4},{"language":"es","tag":"Introducción","count":4},{"language":"fr","tag":"Introduction","count":4},{"language":"it","tag":"Introduzione","count":4},{"language":"ja","tag":"はじめに","count":4},{"language":"pt-BR","tag":"Introdução","count":4},{"language":"zh","tag":"简介","count":4},{"language":"en","tag":"Prompt engineering","count":3},{"language":"de","tag":"Engineering von Eingabeaufforderungen","count":3},{"language":"es","tag":"Ingeniería de instrucciones","count":3},{"language":"fr","tag":"Conception de Prompt","count":3},{"language":"it","tag":"Ingegneria delle istruzioni","count":3},{"language":"ja","tag":"プロンプトエンジニアリング","count":3},{"language":"pt-BR","tag":"Engenharia de Prompts de IA","count":3},{"language":"zh","tag":"提示工程","count":3},{"language":"en","tag":"About integrations","count":2},{"language":"en","tag":"Use cases","count":2},{"language":"de","tag":"Über Integrationen","count":2},{"language":"de","tag":"Anwendungsfälle","count":2},{"language":"es","tag":"Sobre las integraciones","count":2},{"language":"es","tag":"Casos de uso","count":2},{"language":"fr","tag":"À propos des intégrations","count":2},{"language":"fr","tag":"Cas d’utilisation","count":2},{"language":"it","tag":"Informazioni sulle integrazioni","count":2},{"language":"it","tag":"Casi d'uso","count":2},{"language":"ja","tag":"連携について","count":2},{"language":"ja","tag":"ユースケース","count":2},{"language":"pt-BR","tag":"Sobre as integrações","count":2},{"language":"pt-BR","tag":"Casos de uso","count":2},{"language":"zh","tag":"关于集成","count":2},{"language":"zh","tag":"应用场景","count":2},{"language":"en","tag":"Changelog","count":1},{"language":"en","tag":"Glossary","count":1},{"language":"de","tag":"Versionshinweise","count":1},{"language":"de","tag":"Glossar","count":1},{"language":"es","tag":"Registro de cambios","count":1},{"language":"es","tag":"Glosario","count":1},{"language":"fr","tag":"Journal des mises à jour","count":1},{"language":"fr","tag":"Glossaire","count":1},{"language":"it","tag":"Cronologia delle modifiche","count":1},{"language":"it","tag":"Glossario","count":1},{"language":"ja","tag":"変更履歴","count":1},{"language":"ja","tag":"用語集","count":1},{"language":"pt-BR","tag":"Registro de alterações","count":1},{"language":"pt-BR","tag":"Glossário","count":1},{"language":"zh","tag":"更新日志","count":1},{"language":"zh","tag":"术语表","count":1}]},"assistantConfig":{"enableAskAiButton":false,"enableStarterQuestions":false,"enableAskAiSearchBar":true},"basePath":"","hasChatPermissions":false,"hasWebMcpPermissions":false,"toggles":[{"name":"kill-isr","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-mintlify-slack","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"agent-integrations-settings","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"rbac-expansion","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-pr-grouping","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"custom-prefix","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"analytics-v7","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"user-flows-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"no-publish-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving-live","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"stripTemperatureMiddleware","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"support-platform-pylon-zendesk","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"snapshot-serving","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"instant-rollback","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications-server","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"granular-notifications","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automations-fable","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fixed-ai-action-pricing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"automation-resolve-merge-conflict","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"scoped-publishing","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"mintql","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"page-level-analytics","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-version-history-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"billing-page-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"full-page-search","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"workspace-projects","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"fork-pr-previews","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"revalidation-jwt","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"hobby-abuse-scan","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"dashboard-inbox","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-dual-write","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"approve-review-flow","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"editor-metadata","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"turbopuffer-serve","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"live-agents","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"starter-pricing","enabled":true,"variant":{"name":"treatment","enabled":true,"payload":{"type":"string","value":"treatment"},"feature_enabled":true},"impressionData":false},{"name":"llms-txt-v2","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false},{"name":"auth-vite-origin","enabled":true,"variant":{"name":"disabled","enabled":false,"feature_enabled":true},"impressionData":false}],"starterQuestions":[],"googleFontsInlined":false},"customCss":[{"filePath":"assets/css/styles.css","content":".supabase{color:#59cf8c}"}]}
{"page":{"pagePath":"features/business/sso","slug":"/features/business/sso","pageMetadata":{"title":"Set up single sign-on (SSO)","sidebarTitle":"Single sign-on (SSO)","description":"Configure Lovable single sign-on (SSO) using OIDC or SAML 2.0 with your identity provider for secure, centralized workspace authentication.","icon":"shield-keyhole","keywords":["single sign-on","sso","SSO setup","SSO configuration","SSO integration","enterprise SSO","enforce SSO","identity provider","OIDC","SAML","Okta SSO","Auth0 SSO","Microsoft Entra ID SSO","Azure AD SSO"],"href":"/features/business/sso","hidden":false},"description":{"compiledSource":"\"use strict\";\nconst {jsx: _jsx} = arguments[0];\nconst {useMDXComponents: _provideComponents} = arguments[0];\nfunction _createMdxContent(props) {\n const _components = {\n p: \"p\",\n ..._provideComponents(),\n ...props.components\n };\n return _jsx(_components.p, {\n children: \"Configure Lovable single sign-on (SSO) using OIDC or SAML 2.0 with your identity provider for secure, centralized workspace authentication.\"\n });\n}\nfunction MDXContent(props = {}) {\n const {wrapper: MDXLayout} = {\n ..._provideComponents(),\n ...props.components\n };\n return MDXLayout ? _jsx(MDXLayout, {\n ...props,\n children: _jsx(_createMdxContent, {\n ...props\n })\n }) : _createMdxContent(props);\n}\nreturn {\n default: MDXContent\n};\n","frontmatter":{},"scope":{}},"pageType":"default","mdx":{"mdxSource":{"compiledSource":"\"use strict\";const{Fragment:_Fragment,jsx:_jsx,jsxs:_jsxs}=arguments[0];const{useMDXComponents:_provideComponents}=arguments[0];function _createMdxContent(props){const _components={a:`a`,br:`br`,code:`code`,li:`li`,p:`p`,pre:`pre`,span:`span`,strong:`strong`,ul:`ul`,..._provideComponents(),...props.components},{Accordion,AccordionGroup,CodeBlock,Heading,Note,Step,Steps,Tab,Tabs}=_components;if(!Accordion)_missingMdxReference(`Accordion`,true);if(!AccordionGroup)_missingMdxReference(`AccordionGroup`,true);if(!CodeBlock)_missingMdxReference(`CodeBlock`,true);if(!Heading)_missingMdxReference(`Heading`,true);if(!Note)_missingMdxReference(`Note`,true);if(!Step)_missingMdxReference(`Step`,true);if(!Steps)_missingMdxReference(`Steps`,true);if(!Tab)_missingMdxReference(`Tab`,true);if(!Tabs)_missingMdxReference(`Tabs`,true);return _jsxs(_Fragment,{children:[_jsxs(_components.p,{children:[`Single sign-on (SSO) is available on `,_jsx(_components.strong,{children:`Business`}),` and `,_jsx(_components.strong,{children:`Enterprise`}),` plans and enables secure, centralized authentication across your organization. With SSO, users can access Lovable with one set of credentials, simplifying access management and improving security.`]}),`\n`,_jsxs(Note,{children:[_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Service provider (SP)-initiated sign-in only:`}),` users must start sign-in from Lovable (SP).`]}),_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Identity provider (IdP)-initiated SSO`}),` (starting from an IdP dashboard tile) is `,_jsx(_components.strong,{children:`not supported`}),`.`]})]}),`\n`,_jsx(Heading,{level:`2`,id:`supported-sso-protocols`,children:`Supported SSO protocols`}),`\n`,_jsxs(_components.p,{children:[`Lovable supports both `,_jsx(_components.strong,{children:`OIDC`}),` and `,_jsx(_components.strong,{children:`SAML 2.0`}),` protocols, enabling integration with all major `,_jsx(_components.strong,{children:`identity providers (IdP)`}),` including Okta, Auth0, Microsoft Entra ID (Azure AD), and more.`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`OpenID Connect (OIDC)`}),`: recommended; a modern identity layer built on top of OAuth 2.0 that provides identity verification.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`SAML (Security Assertion Markup Language) 2.0`}),`: XML-based protocol for exchanging authentication and authorization data, widely used in enterprise environments.`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`prerequisites`,children:`Prerequisites`}),`\n`,_jsx(_components.p,{children:`To connect your identity provider to Lovable using OIDC or SAML, you need:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`IdP admin access`}),` (Okta, Auth0, Microsoft Entra ID, or any other provider you’re using)`]}),`\n`,_jsx(_components.li,{children:_jsx(_components.strong,{children:`Lovable workspace owner or admin role`})}),`\n`,_jsxs(_components.li,{children:[`A `,_jsx(_components.strong,{children:`verified domain`}),` in Lovable`]}),`\n`]}),`\n`,_jsx(Heading,{level:`2`,id:`start-sso-setup-in-lovable`,children:`Start SSO setup in Lovable`}),`\n`,_jsxs(_components.p,{children:[`SSO configuration is a `,_jsx(_components.strong,{children:`two-way setup`}),` between Lovable and your identity provider:`]}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Lovable → IdP:`}),` copy Lovable URLs and settings into your IdP app.`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`IdP → Lovable:`}),` copy your IdP’s issuer, metadata, and certificates back into Lovable.`]}),`\n`]}),`\n`,_jsxs(_components.p,{children:[`The workspace `,_jsx(_components.strong,{children:`owner`}),` or `,_jsx(_components.strong,{children:`admin`}),` can set up SSO. To start, go to `,_jsx(_components.strong,{children:`Settings → Workspace → Identity → Add SSO provider`}),`, then choose `,_jsx(_components.strong,{children:`OIDC`}),` or `,_jsx(_components.strong,{children:`SAML`}),`.`]}),`\n`,_jsx(Heading,{level:`3`,id:`idp-configuration-reference`,children:`IdP configuration reference`}),`\n`,_jsx(_components.p,{children:`When you start the SSO provider setup in Lovable, you see:`}),`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`What to configure in your IdP`}),` (for example, app type, scopes, and attribute mappings)`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.strong,{children:`Lovable URLs and identifiers`}),` you may need to enter in the IdP.`]}),`\n`]}),`\n`,_jsx(_components.p,{children:`Use the reference below while configuring OIDC or SAML in your IdP.`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`OIDC`,id:`oidc`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Application type: `,_jsx(_components.code,{children:`Web Application`})]}),`\n`,_jsxs(_components.li,{children:[`Grant type: `,_jsx(_components.code,{children:`Authorization Code`})]}),`\n`,_jsxs(_components.li,{children:[`Token method: `,_jsx(_components.code,{children:`POST`}),` (if configurable)`]}),`\n`,_jsxs(_components.li,{children:[`Redirect URI to copy and add to your IdP: `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`,_jsxs(_components.li,{children:[`OAuth scopes:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Required: `,_jsx(_components.code,{children:`openid`}),`, `,_jsx(_components.code,{children:`email`})]}),`\n`,_jsxs(_components.li,{children:[`Recommended: `,_jsx(_components.code,{children:`profile`})]}),`\n`]}),`\n`]}),`\n`]})}),_jsx(Tab,{title:`SAML`,id:`saml`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`ACS URL (Assertion Consumer Service): `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`,_jsxs(_components.li,{children:[`SP Entity ID / Audience URI: `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`,_jsxs(_components.li,{children:[`Attribute mappings:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`email`}),` (required): ensure the format is set to `,_jsx(_components.code,{children:`EmailAddress`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`displayName`}),` (recommended): map to user’s full name`]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`photoURL`}),` (recommended): map to user’s profile picture URL`]}),`\n`]}),`\n`]}),`\n`]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`provider-specific-setup-guides`,children:`Provider-specific setup guides`}),`\n`,_jsxs(_components.p,{children:[`If you use Okta, Auth0, or Microsoft Entra, you can find provider-specific documentation for setting up SSO. If you use another provider, see `,_jsx(_components.a,{href:`#configure-other-providers`,children:`Configure other providers`}),`.`]}),`\n`,_jsxs(_components.p,{children:[`Before you begin, complete `,_jsx(_components.a,{href:`#start-sso-setup-in-lovable`,children:`Start SSO setup in Lovable`}),` to get the settings and values you need to use in your IdP.`]}),`\n`,_jsx(Heading,{level:`3`,id:`configure-okta-as-your-sso-provider`,children:`Configure Okta as your SSO provider`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`OIDC`,id:`oidc-2`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Create an application in Okta Admin Console`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Applications`}),`, click `,_jsx(_components.strong,{children:`Create App Integration`}),` and select `,_jsx(_components.strong,{children:`OIDC`}),`. Then select the `,_jsx(_components.strong,{children:`Web Application`}),` application type.`]}),`\n`,_jsxs(_components.li,{children:[`Give the app a name, for example `,_jsx(_components.code,{children:`Lovable OIDC SSO`}),`.`]}),`\n`]})}),_jsx(Step,{title:`Configure OIDC integration`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Set `,_jsx(_components.strong,{children:`Grant type`}),` to `,_jsx(_components.code,{children:`Authorization Code`})]}),`\n`,_jsx(_components.li,{children:`Remove the default redirect URIs.`}),`\n`,_jsxs(_components.li,{children:[`Add the Lovable redirect URL to Okta `,_jsx(_components.strong,{children:`Sign-in redirect URIs`}),`: `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`Assignments`}),`: assign the application to your users/groups who should access Lovable.`]}),`\n`]})}),_jsx(Step,{title:`Save application`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Save`}),`. Your application is now created in Okta.`]})}),_jsx(Step,{title:`Configure Okta Issuer URL`,children:_jsxs(_components.p,{children:[`In Okta, go to `,_jsx(_components.strong,{children:`Sign On → OpenID Connect ID Token`}),`, select `,_jsx(_components.strong,{children:`Okta URL`}),` from the Issuer dropdown, and `,_jsx(_components.strong,{children:`Save`}),`.`]})}),_jsxs(Step,{title:`Provide Lovable with your IdP information`,children:[_jsxs(_components.p,{children:[`In Okta, copy the following value from the `,_jsx(_components.strong,{children:`Sign On`}),` tab and enter it in Lovable.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Okta `,_jsx(_components.code,{children:`Issuer URL`}),` → Lovable `,_jsx(_components.code,{children:`OIDC Issuer URL/Discovery Endpoint`})]}),`\n`]}),_jsxs(_components.p,{children:[`In Okta, copy the following values from the `,_jsx(_components.strong,{children:`General`}),` tab and enter them in Lovable.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Okta `,_jsx(_components.code,{children:`Client ID`}),` → Lovable `,_jsx(_components.code,{children:`OAuth Client ID/Application ID`})]}),`\n`,_jsxs(_components.li,{children:[`Okta `,_jsx(_components.code,{children:`Client Secret`}),` → Lovable `,_jsx(_components.code,{children:`OAuth Client Secret`})]}),`\n`]})]}),_jsx(Step,{title:`(Optional) Test the configuration in Lovable`,children:_jsxs(_components.p,{children:[`In Lovable, click `,_jsx(_components.strong,{children:`Test configuration`}),`. If everything is configured correctly, the validation should be successful.`]})}),_jsx(Step,{title:`Finish OIDC provider configuration in Lovable`,children:_jsxs(_components.p,{children:[`In Lovable, click `,_jsx(_components.strong,{children:`Configure provider`}),` to finish the configuration of Okta as your OIDC SSO provider.`]})})]})}),_jsx(Tab,{title:`SAML`,id:`saml-2`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Create an application in Okta Admin Console`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Applications`}),`, click `,_jsx(_components.strong,{children:`Create App Integration`}),` and select `,_jsx(_components.strong,{children:`SAML 2.0`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Give the app a name, for example `,_jsx(_components.code,{children:`Lovable SAML SSO`}),`.`]}),`\n`]})}),_jsx(Step,{title:`Configure SAML settings`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Single sign-on URL: `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`,_jsxs(_components.li,{children:[`Audience URI (SP Entity ID): `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`,_jsxs(_components.li,{children:[`Name ID format: `,_jsx(_components.code,{children:`EmailAddress`})]}),`\n`]})}),_jsx(Step,{title:`Save application`,children:_jsxs(_components.p,{children:[`Click `,_jsx(_components.strong,{children:`Finish.`}),` Your application is now created in Okta.`]})}),_jsxs(Step,{title:`Provide Lovable with your IdP information`,children:[_jsxs(_components.p,{children:[`In Okta, go to `,_jsx(_components.strong,{children:`Sign On → SAML 2.0 → Metadata details`}),`, copy the `,_jsx(_components.strong,{children:`Metadata URL`}),` and open it in a new tab.`]}),_jsxs(_components.p,{children:[`Copy the following `,_jsx(_components.strong,{children:`Metadata URL`}),` values and enter them in Lovable:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Okta `,_jsx(_components.code,{children:`SingleSignOnService Location`}),` → Lovable `,_jsx(_components.code,{children:`SAML SSO Sign-on URL from your IdP`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Okta `,_jsx(_components.code,{children:`EntityID`}),` → Lovable `,_jsx(_components.code,{children:`Identity Provider Entity ID / Issuer`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Okta `,_jsx(_components.code,{children:`X509Certificate`}),` → Lovable `,_jsx(_components.code,{children:`X.509 Signing Certificate (public key)`})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Paste the certificate value between the `,_jsx(_components.code,{children:`-----BEGIN CERTIFICATE-----`}),` and `,_jsx(_components.code,{children:`-----END CERTIFICATE-----`}),` lines.`]})}),`\n`]}),`\n`]})]}),_jsx(Step,{title:`Finish SAML provider configuration in Lovable`,children:_jsxs(_components.p,{children:[`In Lovable, click `,_jsx(_components.strong,{children:`Configure SAML Provider → Confirm \u0026 Enable SSO`}),` to finish the configuration of Okta as your SAML SSO provider.`]})})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`configure-auth0-as-your-sso-provider`,children:`Configure Auth0 as your SSO provider`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`OIDC`,id:`oidc-3`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Create an application in Auth0 Admin Dashboard`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Applications`}),`, click `,_jsx(_components.strong,{children:`Create application`}),`. Select the `,_jsx(_components.strong,{children:`Regular Web Applications`}),` application type.`]}),`\n`,_jsxs(_components.li,{children:[`Give the app a name, for example `,_jsx(_components.code,{children:`Lovable OIDC SSO`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Create`}),`.`]}),`\n`]})}),_jsx(Step,{title:`Configure Allowed Callback URLs`,children:_jsxs(_components.p,{children:[`In Auth0, navigate to your application settings, add the `,_jsx(_components.strong,{children:`Allowed Callback URLs`}),`: `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`}),`, and click `,_jsx(_components.strong,{children:`Save`}),`.`]})}),_jsxs(Step,{title:`Provide Lovable with your IdP information`,children:[_jsxs(_components.p,{children:[`In Auth0, copy the following values from the `,_jsx(_components.strong,{children:`Settings`}),` tab and enter them in Lovable.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Auth0 `,_jsx(_components.code,{children:`Domain`}),` → Lovable `,_jsx(_components.code,{children:`OIDC Issuer URL/Discovery Endpoint`}),` (include `,_jsx(_components.code,{children:`https://`}),`)`]}),`\n`,_jsxs(_components.li,{children:[`Auth0 `,_jsx(_components.code,{children:`Client ID`}),` → Lovable `,_jsx(_components.code,{children:`OAuth Client ID/Application ID`})]}),`\n`,_jsxs(_components.li,{children:[`Auth0 `,_jsx(_components.code,{children:`Client Secret`}),` → Lovable `,_jsx(_components.code,{children:`OAuth Client Secret`})]}),`\n`]})]}),_jsx(Step,{title:`(Optional) Test configuration in Lovable`,children:_jsxs(_components.p,{children:[`In Lovable, click `,_jsx(_components.strong,{children:`Test configuration`}),`. If you configured everything accurately, the validation should be successful.`]})}),_jsx(Step,{title:`Finish OIDC provider configuration in Lovable`,children:_jsxs(_components.p,{children:[`In Lovable, click `,_jsx(_components.strong,{children:`Configure provider`}),` to finish the configuration of Auth0 as your OIDC SSO provider.`]})})]})}),_jsx(Tab,{title:`SAML`,id:`saml-3`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Create an application in Auth0 Admin Dashboard`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Applications`}),`, click `,_jsx(_components.strong,{children:`Create application`}),`. Select the `,_jsx(_components.strong,{children:`Regular Web Applications`}),` application type.`]}),`\n`,_jsxs(_components.li,{children:[`Give the app a name, for example `,_jsx(_components.code,{children:`Lovable SAML SSO`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Create`}),`.`]}),`\n`]})}),_jsx(Step,{title:`Configure Allowed Callback URLs`,children:_jsxs(_components.p,{children:[`In Auth0, navigate to your application settings, add the `,_jsx(_components.strong,{children:`Allowed Callback URLs`}),`: `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`}),`, and click `,_jsx(_components.strong,{children:`Save`}),`.`]})}),_jsxs(Step,{title:`Configure SAML2 Web App Add-on`,children:[_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`In Auth0, navigate to `,_jsx(_components.strong,{children:`Addons`}),`, and enable `,_jsx(_components.strong,{children:`SAML2 Web app`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`In `,_jsx(_components.strong,{children:`Addon: SAML2 Web app → Settings`}),`, set:`,`\n`,_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Application Callback URL: `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`,_jsxs(_components.li,{children:[`Settings: paste the following `,_jsx(_components.code,{children:`mappings`}),` JSON`]}),`\n`]}),`\n`]}),`\n`]}),_jsx(CodeBlock,{filename:``,numberOfLines:`6`,language:`json`,children:_jsx(_components.pre,{className:`shiki shiki-themes github-light-default dark-plus`,style:{backgroundColor:`#ffffff`,\"--shiki-dark-bg\":`#0B0C0E`,color:`#1f2328`,\"--shiki-dark\":`#D4D4D4`},language:`json`,children:_jsxs(_components.code,{language:`json`,numberOfLines:`6`,children:[_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` {`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"mappings\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: {`})]}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"email\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"http://schemas.xmlsoap.org/ws/2005/05/identity/claims/nameidentifier\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` },`})}),`\n`,_jsxs(_components.span,{className:`line`,children:[_jsx(_components.span,{style:{color:`#116329`,\"--shiki-dark\":`#9CDCFE`},children:` \"nameIdentifierFormat\"`}),_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:`: `}),_jsx(_components.span,{style:{color:`#0A3069`,\"--shiki-dark\":`#CE9178`},children:`\"urn:oasis:names:tc:SAML:1.1:nameid-format:emailAddress\"`})]}),`\n`,_jsx(_components.span,{className:`line`,children:_jsx(_components.span,{style:{color:`#1F2328`,\"--shiki-dark\":`#D4D4D4`},children:` }`})}),`\n`]})})}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Enable.`})]}),`\n`]})]}),_jsxs(Step,{title:`Provide Lovable with your IdP information`,children:[_jsxs(_components.p,{children:[`In `,_jsx(_components.strong,{children:`Auth0 → Addon: SAML2 Web app → Usage`}),`, copy the following `,_jsx(_components.strong,{children:`SAML Protocol Configuration Parameter`}),` values and enter them in Lovable.`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Auth0 `,_jsx(_components.code,{children:`Identity Provider Login URL`}),` → Lovable `,_jsx(_components.code,{children:`SAML SSO Sign-on URL from your IdP`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Auth0 `,_jsx(_components.code,{children:`Issuer`}),` → Lovable `,_jsx(_components.code,{children:`Identity Provider Entity ID / Issuer`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Auth0 `,_jsx(_components.code,{children:`X509Certificate`}),` → Lovable `,_jsx(_components.code,{children:`X.509 Signing Certificate (public key)`})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`Download Auth0 certificate and copy the `,_jsx(_components.code,{children:`X509Certificate`}),` value. Paste the certificate value between the `,_jsx(_components.code,{children:`-----BEGIN CERTIFICATE-----`}),` and `,_jsx(_components.code,{children:`-----END CERTIFICATE-----`}),` lines.`]})}),`\n`]}),`\n`]})]}),_jsx(Step,{title:`Finish SAML provider configuration in Lovable`,children:_jsxs(_components.p,{children:[`In Lovable, click `,_jsx(_components.strong,{children:`Configure SAML Provider → Confirm \u0026 Enable SSO`}),` to finish the configuration of Auth0 as your SAML SSO provider.`]})})]})})]}),`\n`,_jsx(Heading,{level:`3`,id:`configure-microsoft-entra-id-as-your-sso-provider`,children:`Configure Microsoft Entra ID as your SSO provider`}),`\n`,_jsx(Tabs,{children:_jsx(Tab,{title:`SAML`,id:`saml-4`,children:_jsxs(Steps,{children:[_jsx(Step,{title:`Create an enterprise app in Microsoft Entra admin center`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Under `,_jsx(_components.strong,{children:`Enterprise applications`}),`, select `,_jsx(_components.strong,{children:`New application`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Select `,_jsx(_components.strong,{children:`Create your own application`}),` and choose `,_jsx(_components.strong,{children:`Integrate any other application you don’t find in the gallery (Non-gallery)`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Give the app a name, for example `,_jsx(_components.code,{children:`Lovable SAML SSO`}),`.`]}),`\n`,_jsxs(_components.li,{children:[`Click `,_jsx(_components.strong,{children:`Create`}),`. Your application is now created.`]}),`\n`]})}),_jsxs(Step,{title:`Configure SAML SSO`,children:[_jsxs(_components.p,{children:[`In Microsoft Entra, navigate to the `,_jsx(_components.strong,{children:`Single sign-on`}),` setup page and select `,_jsx(_components.strong,{children:`SAML`}),`. Under `,_jsx(_components.strong,{children:`Basic SAML Configuration`}),`, enter the following:`]}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Identifier (Entity ID): `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`,_jsxs(_components.li,{children:[`Reply URL (Assertion Consumer Service URL): `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`]}),_jsxs(_components.p,{children:[`Leave the other values blank and select `,_jsx(_components.strong,{children:`Save`}),`.`]})]}),_jsxs(Step,{title:`Provide Lovable with your IdP information`,children:[_jsx(_components.p,{children:`When the application is set up, copy the following values and enter them in Lovable.`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Microsoft Entra `,_jsx(_components.code,{children:`Login URL`}),` → Lovable `,_jsx(_components.code,{children:`SAML SSO Sign-on URL from your IdP`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Microsoft Entra `,_jsx(_components.code,{children:`Microsoft Entra Identifier`}),` → Lovable `,_jsx(_components.code,{children:`Identity Provider Entity ID / Issuer`})]}),`\n`]}),`\n`,_jsxs(_components.li,{children:[`\n`,_jsxs(_components.p,{children:[`Microsoft Entra `,_jsx(_components.code,{children:`X509Certificate`}),` → Lovable `,_jsx(_components.code,{children:`X.509 Signing Certificate (public key)`})]}),`\n`,_jsx(Note,{children:_jsxs(_components.p,{children:[`You can download the certificate (Base 64) or open the `,_jsx(_components.code,{children:`App Federation Metadata URL`}),` in a new tab and copy the `,_jsx(_components.code,{children:`X509Certificate`}),` value. Paste the certificate value between the `,_jsx(_components.code,{children:`-----BEGIN CERTIFICATE-----`}),` and `,_jsx(_components.code,{children:`-----END CERTIFICATE-----`}),` lines.`]})}),`\n`]}),`\n`]})]}),_jsx(Step,{title:`Finish SAML provider configuration in Lovable`,children:_jsxs(_components.p,{children:[`In Lovable, click `,_jsx(_components.strong,{children:`Configure SAML Provider → Confirm \u0026 Enable SSO`}),` to finish the configuration of Microsoft Entra ID as your SAML SSO provider.`]})})]})})}),`\n`,_jsx(Heading,{level:`2`,id:`configure-other-providers`,children:`Configure other providers`}),`\n`,_jsx(_components.p,{children:`You can configure any OIDC or SAML-compliant provider with Lovable SSO.`}),`\n`,_jsxs(_components.p,{children:[`Before you begin, complete `,_jsx(_components.a,{href:`#start-sso-setup-in-lovable`,children:`Start SSO setup in Lovable`}),` to get the settings and values you need to use in your IdP.`]}),`\n`,_jsxs(Tabs,{children:[_jsxs(Tab,{title:`OIDC`,id:`oidc-4`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Provider mapping`})}),_jsx(_components.p,{children:`Common field names across providers:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`Redirect URI: `,_jsx(_components.code,{children:`Callback URL`}),`, `,_jsx(_components.code,{children:`Sign-in redirect URI`})]}),`\n`,_jsxs(_components.li,{children:[`Issuer/Domain: `,_jsx(_components.code,{children:`Issuer URL`}),`, `,_jsx(_components.code,{children:`Authority`}),`, `,_jsx(_components.code,{children:`Okta domain`}),`, `,_jsx(_components.code,{children:`Auth0 domain`}),`, `,_jsx(_components.code,{children:`Tenant domain`})]}),`\n`,_jsxs(_components.li,{children:[`Client credentials: `,_jsx(_components.code,{children:`Client ID`}),` and `,_jsx(_components.code,{children:`Client Secret`})]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Steps`})}),_jsxs(Steps,{children:[_jsx(Step,{title:`Create an OIDC confidential app`,children:_jsx(_components.p,{children:`Create a new OIDC Web application in your identity provider.`})}),_jsx(Step,{title:`Configure redirect URI`,children:_jsxs(_components.p,{children:[`In Redirect/Callback URLs, add `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]})}),_jsx(Step,{title:`Enable required scopes`,children:_jsxs(_components.p,{children:[`Ensure `,_jsx(_components.code,{children:`openid`}),` and `,_jsx(_components.code,{children:`email`}),` scopes are enabled and consented if needed.`]})}),_jsxs(Step,{title:`Provide Lovable with your IdP information`,children:[_jsx(_components.p,{children:`In your IdP, copy the following values and enter them in Lovable:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Domain`}),` or `,_jsx(_components.code,{children:`Issuer URL`}),` → Lovable `,_jsx(_components.code,{children:`OIDC Issuer URL/Discovery Endpoint`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Client ID`}),` → Lovable `,_jsx(_components.code,{children:`OAuth Client ID/Application ID`})]}),`\n`,_jsxs(_components.li,{children:[_jsx(_components.code,{children:`Client Secret`}),` → Lovable `,_jsx(_components.code,{children:`OAuth Client Secret`})]}),`\n`]})]})]})]}),_jsxs(Tab,{title:`SAML`,id:`saml-5`,children:[_jsx(_components.p,{children:_jsx(_components.strong,{children:`Provider mapping`})}),_jsx(_components.p,{children:`Common field names across providers:`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`ACS URL: `,_jsx(_components.code,{children:`Single Sign-On URL`}),`, `,_jsx(_components.code,{children:`SSO URL`}),`, `,_jsx(_components.code,{children:`Reply URL`}),`, `,_jsx(_components.code,{children:`Assertion Consumer Service URL`})]}),`\n`,_jsxs(_components.li,{children:[`Audience: `,_jsx(_components.code,{children:`SP Entity ID`}),`, `,_jsx(_components.code,{children:`Audience URI`}),`, `,_jsx(_components.code,{children:`Identifier`})]}),`\n`,_jsxs(_components.li,{children:[`Attribute mapping: `,_jsx(_components.code,{children:`Attribute Statements`}),`, `,_jsx(_components.code,{children:`User Attributes \u0026 Claims`})]}),`\n`]}),_jsx(_components.p,{children:_jsx(_components.strong,{children:`Steps`})}),_jsxs(Steps,{children:[_jsx(Step,{title:`Create a SAML 2.0 application`,children:_jsx(_components.p,{children:`Create a new SAML 2.0 application in your provider.`})}),_jsx(Step,{title:`Configure endpoints`,children:_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`ACS URL: `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`,_jsxs(_components.li,{children:[`Audience / Entity ID: `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`})]}),`\n`]})}),_jsx(Step,{title:`Map attributes`,children:_jsxs(_components.p,{children:[`Ensure `,_jsx(_components.code,{children:`email`}),` is included in the SAML assertion. `,_jsx(_components.code,{children:`displayName`}),` is optional.`]})}),_jsx(Step,{title:`Assign users`,children:_jsx(_components.p,{children:`Assign the application to users/groups who should access Lovable.`})})]})]})]}),`\n`,_jsx(Heading,{level:`2`,id:`troubleshooting`,children:`Troubleshooting`}),`\n`,_jsxs(Tabs,{children:[_jsx(Tab,{title:`OIDC`,id:`oidc-5`,children:_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Invalid or mismatched Redirect URI`,id:`invalid-or-mismatched-redirect-uri`,children:_jsxs(_components.p,{children:[`Ensure the redirect/callback URL exactly matches `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`}),` in your IdP.`]})}),_jsxs(Accordion,{title:`Issuer URL / discovery fails`,id:`issuer-url-discovery-fails`,children:[_jsx(_components.p,{children:`Use the provider’s OIDC Issuer URL (not just the domain).`}),_jsxs(_components.ul,{children:[`\n`,_jsxs(_components.li,{children:[`For Okta, copy from the `,_jsx(_components.strong,{children:`Sign-on`}),` tab`]}),`\n`,_jsx(_components.li,{children:`For Auth0, use your tenant domain.`}),`\n`]})]}),_jsx(Accordion,{title:`Email not returned`,id:`email-not-returned`,children:_jsxs(_components.p,{children:[`Grant the `,_jsx(_components.code,{children:`email`}),` scope and ensure the user account has a primary email.`]})}),_jsx(Accordion,{title:`Authorization flow issues`,id:`authorization-flow-issues`,children:_jsxs(_components.p,{children:[`Use `,_jsx(_components.code,{children:`Authorization Code`}),` with a confidential client and client secret. Avoid implicit or PKCE-only app types.`]})})]})}),_jsx(Tab,{title:`SAML`,id:`saml-6`,children:_jsxs(AccordionGroup,{children:[_jsx(Accordion,{title:`Invalid ACS or Audience`,id:`invalid-acs-or-audience`,children:_jsxs(_components.p,{children:[`Ensure both ACS and Audience/Entity ID exactly match `,_jsx(_components.code,{children:`https://auth.lovable.dev/__/auth/handler`}),` in your IdP.`]})}),_jsxs(Accordion,{title:`Email claim missing`,id:`email-claim-missing`,children:[_jsx(_components.p,{children:`Make sure to map an email claim.`}),_jsxs(_components.p,{children:[`For Microsoft Entra ID, map `,_jsx(_components.code,{children:`email`}),` to `,_jsx(_components.code,{children:`user.mail`}),`. If `,_jsx(_components.code,{children:`user.mail`}),` is empty, use `,_jsx(_components.code,{children:`user.userprincipalname`}),`.`]})]}),_jsx(Accordion,{title:`Provider credentials invalid`,id:`provider-credentials-invalid`,children:_jsxs(_components.p,{children:[`Paste the correct `,_jsx(_components.code,{children:`X.509`}),` certificate. If the certificate rotates, update it in Lovable.`]})})]})})]}),`\n`,_jsx(Heading,{level:`2`,id:`faq`,children:`FAQ`}),`\n`,_jsxs(AccordionGroup,{children:[_jsxs(Accordion,{title:`I already have an account, but I'm joining a business workspace that uses SSO. How do I log in?`,id:`i-already-have-an-account-but-i-m-joining-a-business-workspace-that-uses-sso-how-do-i-log-in`,children:[_jsxs(_components.p,{children:[`If you created your account using another login method (like email/password, Google, or GitHub), you need to log in that way `,_jsx(_components.strong,{children:`first`}),`. Once you’re logged in, navigate to `,_jsx(_components.strong,{children:`Settings → Your account → Link SSO`}),`. This will link your existing account to your company SSO.`]}),_jsx(Note,{children:_jsxs(_components.p,{children:[_jsx(_components.strong,{children:`Important:`}),` If you attempt to log in with SSO before linking your existing account, you’ll see an error. This is a security measure to prevent unauthorized access. Log in using your original method first to complete the linking process.`]})})]}),_jsx(Accordion,{title:`Which SSO providers does Lovable support?`,id:`which-sso-providers-does-lovable-support`,children:_jsx(_components.p,{children:`Lovable supports the industry-standard OIDC and SAML protocols, so you can integrate with any SSO provider that supports them.`})}),_jsx(Accordion,{title:`Does Lovable support multiple SSO providers per workspace?`,id:`does-lovable-support-multiple-sso-providers-per-workspace`,children:_jsxs(_components.p,{children:[`No. A workspace can have `,_jsx(_components.strong,{children:`one active SSO provider`}),` configured at a time.`]})}),_jsxs(Accordion,{title:`Can I enforce SSO for my workspace?`,id:`can-i-enforce-sso-for-my-workspace`,children:[_jsxs(_components.p,{children:[`Yes. The workspace `,_jsx(_components.strong,{children:`owner`}),` or `,_jsx(_components.strong,{children:`admin`}),` can enable `,_jsx(_components.strong,{children:`Enforce SSO`}),` in `,_jsx(_components.strong,{children:`Settings → Workspace → Identity`}),`\\xA0and choose the `,_jsx(_components.strong,{children:`session duration`}),` to configure how long users stay signed in before requiring re-authentication (24 hours, 48 hours, or 7 days).`]}),_jsx(_components.p,{children:`This requires all workspace members to use SSO for authentication. External collaborators and invite links will be disabled.`})]}),_jsxs(Accordion,{title:`Does Lovable support IdP-initiated SSO?`,id:`does-lovable-support-idp-initiated-sso`,children:[_jsxs(_components.p,{children:[`No. `,_jsx(_components.strong,{children:`IdP-initiated SSO`}),` (starting from an IdP dashboard tile) is not supported.`]}),_jsxs(_components.p,{children:[`Lovable supports `,_jsx(_components.strong,{children:`SP-initiated sign-in only`}),`.\\xA0Users must start sign-in from Lovable.`]})]}),_jsxs(Accordion,{title:`Does Lovable support SCIM or automatic user provisioning?`,id:`does-lovable-support-scim-or-automatic-user-provisioning`,children:[_jsxs(_components.p,{children:[`Lovable supports `,_jsx(_components.strong,{children:`JIT (just-in-time) provisioning`}),`: user accounts are created automatically the first time someone signs in via SSO, and they’re added to your company workspace.`]}),_jsxs(_components.p,{children:[`You can also set a `,_jsx(_components.strong,{children:`default role for JIT-created users`}),` (admin, editor, or viewer) that will be applied when they join via SSO for the first time.`]})]}),_jsxs(Accordion,{title:`How can I find my tenant ID (SSO login identifier)?`,id:`how-can-i-find-my-tenant-id-sso-login-identifier`,children:[_jsxs(_components.p,{children:[`Your tenant ID is the `,_jsx(_components.code,{children:`{tenantId}`}),`\\xA0value used in your `,_jsx(_components.strong,{children:`SSO\\xA0login URL`}),`:`,_jsx(_components.br,{}),`\n`,_jsx(_components.code,{children:`https://lovable.dev/sso-login/{tenantId}`}),`. It matches the `,_jsx(_components.strong,{children:`SSO login identifier`}),` you configured when setting up your SSO provider in Lovable.`]}),_jsxs(_components.p,{children:[`You can also find it in\\xA0`,_jsx(_components.strong,{children:`Settings → Workspace → Identity`}),` after you have configured your provider.`]})]})]})]})}function MDXContent(props={}){const{wrapper:MDXLayout}={..._provideComponents(),...props.components};return MDXLayout?_jsx(MDXLayout,{...props,children:_jsx(_createMdxContent,{...props})}):_createMdxContent(props)}return{default:MDXContent};function _missingMdxReference(id,component){throw new Error(`Expected `+(component?`component`:`object`)+\" `\"+id+\"` to be defined: you likely forgot to import, pass, or provide it.\")}","frontmatter":{},"scope":{"config":{},"pageMetadata":{"title":"Set up single sign-on (SSO)","sidebarTitle":"Single sign-on (SSO)","description":"Configure Lovable single sign-on (SSO) using OIDC or SAML 2.0 with your identity provider for secure, centralized workspace authentication.","icon":"shield-keyhole","keywords":["single sign-on","sso","SSO setup","SSO configuration","SSO integration","enterprise SSO","enforce SSO","identity provider","OIDC","SAML","Okta SSO","Auth0 SSO","Microsoft Entra ID SSO","Azure AD SSO"],"href":"/features/business/sso","hidden":false}}},"mdxSourceWithNoJs":null},"mdxExtracts":{"tableOfContents":[{"title":"Supported SSO protocols","slug":"supported-sso-protocols","depth":2,"children":[]},{"title":"Prerequisites","slug":"prerequisites","depth":2,"children":[]},{"title":"Start SSO setup in Lovable","slug":"start-sso-setup-in-lovable","depth":2,"children":[{"title":"IdP configuration reference","slug":"idp-configuration-reference","depth":3,"children":[]}]},{"title":"Provider-specific setup guides","slug":"provider-specific-setup-guides","depth":2,"children":[{"title":"Configure Okta as your SSO provider","slug":"configure-okta-as-your-sso-provider","depth":3,"children":[]},{"title":"Configure Auth0 as your SSO provider","slug":"configure-auth0-as-your-sso-provider","depth":3,"children":[]},{"title":"Configure Microsoft Entra ID as your SSO provider","slug":"configure-microsoft-entra-id-as-your-sso-provider","depth":3,"children":[]}]},{"title":"Configure other providers","slug":"configure-other-providers","depth":2,"children":[]},{"title":"Troubleshooting","slug":"troubleshooting","depth":2,"children":[]},{"title":"FAQ","slug":"faq","depth":2,"children":[]}],"codeExamples":{}},"jsLinks":[],"subdomain":"generaltranslation-d8a08cd1","siteName":"Lovable Documentation","title":"Set up single sign-on (SSO) - Lovable Documentation","contextualStarterQuestions":[],"navMaps":{"firstHrefInVersion":{},"firstHrefInLanguage":{"en":{"href":"/features/business/sso","matchLevel":0},"es":{"href":"/es/features/business/sso","matchLevel":1},"ja":{"href":"/ja/features/business/sso","matchLevel":1},"zh":{"href":"/zh/features/business/sso","matchLevel":1},"fr":{"href":"/fr/features/business/sso","matchLevel":1},"de":{"href":"/de/features/business/sso","matchLevel":1},"pt-BR":{"href":"/pt-BR/features/business/sso","matchLevel":1},"it":{"href":"/it/features/business/sso","matchLevel":1}}},"lastModified":"2026-01-25T22:46:32.792Z","originalFileLocation":"features/business/sso.mdx","locale":"en"},"headHtml":"\u003cscript data-mint-head>(function(){var d=document.documentElement,p=null;if(!p){try{p=localStorage.getItem(\"isDarkMode\")}catch(e){}if(p==='true')p='dark';else if(p==='false')p='light';if(p!=='light'\u0026\u0026p!=='dark'\u0026\u0026p!=='system')p=\"system\"}var r=p==='system'?(matchMedia(\"(prefers-color-scheme: dark)\").matches?'dark':'light'):p;d.classList.remove(r==='dark'?'light':'dark');d.classList.add(r);d.setAttribute(\"data-theme-preference\",p)})();\u003c/script>\u003cmeta data-mint-head name=\"description\" content=\"Configure Lovable single sign-on (SSO) using OIDC or SAML 2.0 with your identity provider for secure, centralized workspace authentication.\">\u003cmeta data-mint-head name=\"application-name\" content=\"Lovable Documentation\">\u003cmeta data-mint-head name=\"generator\" content=\"Mintlify\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation-d8a08cd1/bjz-1EsDtwXCCrK5/_generated/favicon/android-chrome-192x192.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"apple-touch-icon\" type=\"image/png\" sizes=\"180x180\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation-d8a08cd1/bjz-1EsDtwXCCrK5/_generated/favicon/apple-touch-icon.png\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation-d8a08cd1/bjz-1EsDtwXCCrK5/_generated/favicon/favicon-16x16.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation-d8a08cd1/bjz-1EsDtwXCCrK5/_generated/favicon/favicon-32x32.png\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation-d8a08cd1/bjz-1EsDtwXCCrK5/_generated/favicon/favicon.ico\" media=\"(prefers-color-scheme: light)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"192x192\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation-d8a08cd1/bjz-1EsDtwXCCrK5/_generated/favicon-dark/android-chrome-192x192.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"16x16\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation-d8a08cd1/bjz-1EsDtwXCCrK5/_generated/favicon-dark/favicon-16x16.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"icon\" type=\"image/png\" sizes=\"32x32\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation-d8a08cd1/bjz-1EsDtwXCCrK5/_generated/favicon-dark/favicon-32x32.png\" media=\"(prefers-color-scheme: dark)\">\u003clink data-mint-head rel=\"shortcut icon\" type=\"image/x-icon\" href=\"/mintlify-assets/_mintlify/favicons/generaltranslation-d8a08cd1/bjz-1EsDtwXCCrK5/_generated/favicon-dark/favicon.ico\" media=\"(prefers-color-scheme: dark)\">\u003cmeta data-mint-head property=\"og:title\" content=\"Set up single sign-on (SSO) - Lovable Documentation\">\u003cmeta data-mint-head property=\"og:description\" content=\"Configure Lovable single sign-on (SSO) using OIDC or SAML 2.0 with your identity provider for secure, centralized workspace authentication.\">\u003cmeta data-mint-head property=\"og:site_name\" content=\"Lovable Documentation\">\u003cmeta data-mint-head property=\"og:url\" content=\"https://docs.lovable.dev/features/business/sso\">\u003cmeta data-mint-head property=\"og:type\" content=\"website\">\u003cmeta data-mint-head property=\"og:image\" content=\"https://generaltranslation-d8a08cd1.mintlify.site/assets/logo/opengraph-image.png\">\u003cmeta data-mint-head property=\"og:image:width\" content=\"1200\">\u003cmeta data-mint-head property=\"og:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"twitter:card\" content=\"summary_large_image\">\u003cmeta data-mint-head name=\"twitter:title\" content=\"Set up single sign-on (SSO) - Lovable Documentation\">\u003cmeta data-mint-head name=\"twitter:description\" content=\"Configure Lovable single sign-on (SSO) using OIDC or SAML 2.0 with your identity provider for secure, centralized workspace authentication.\">\u003cmeta data-mint-head name=\"twitter:image\" content=\"https://generaltranslation-d8a08cd1.mintlify.site/assets/logo/opengraph-image.png\">\u003cmeta data-mint-head name=\"twitter:image:width\" content=\"1200\">\u003cmeta data-mint-head name=\"twitter:image:height\" content=\"630\">\u003cmeta data-mint-head name=\"msapplication-config\" content=\"/mintlify-assets/_mintlify/favicons/generaltranslation-d8a08cd1/bjz-1EsDtwXCCrK5/_generated/favicon/browserconfig.xml\">\u003cmeta data-mint-head name=\"apple-mobile-web-app-title\" content=\"Lovable Documentation\">\u003cmeta data-mint-head name=\"msapplication-TileColor\" content=\"#0095FF\">\u003clink data-mint-head rel=\"canonical\" href=\"https://docs.lovable.dev/features/business/sso\">\u003clink data-mint-head rel=\"alternate\" type=\"application/xml\" href=\"/sitemap.xml\">\u003clink data-mint-head rel=\"alternate\" type=\"text/markdown\" href=\"/features/business/sso.md\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"en\" href=\"https://docs.lovable.dev/features/business/sso\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"es\" href=\"https://docs.lovable.dev/es/features/business/sso\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"ja\" href=\"https://docs.lovable.dev/ja/features/business/sso\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"zh\" href=\"https://docs.lovable.dev/zh/features/business/sso\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"fr\" href=\"https://docs.lovable.dev/fr/features/business/sso\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"de\" href=\"https://docs.lovable.dev/de/features/business/sso\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"pt-BR\" href=\"https://docs.lovable.dev/pt-BR/features/business/sso\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"it\" href=\"https://docs.lovable.dev/it/features/business/sso\">\u003clink data-mint-head rel=\"alternate\" hreflang=\"x-default\" href=\"https://docs.lovable.dev/features/business/sso\">\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https://docs.lovable.dev/#organization\",\"name\":\"Lovable Documentation\",\"url\":\"https://docs.lovable.dev\",\"logo\":{\"@type\":\"ImageObject\",\"url\":\"https://mintcdn.com/generaltranslation-d8a08cd1/At48MABj-G93zw7Y/assets/logo/logoblack.svg?fit=max\u0026auto=format\u0026n=At48MABj-G93zw7Y\u0026q=85\u0026s=ca1f70ffb8cc99cf980d91ff6495d89f\"}},{\"@type\":\"WebSite\",\"@id\":\"https://docs.lovable.dev#website\",\"name\":\"Lovable Documentation\",\"url\":\"https://docs.lovable.dev\",\"publisher\":{\"@id\":\"https://docs.lovable.dev/#organization\"}},{\"@type\":\"WebPage\",\"@id\":\"https://docs.lovable.dev/features/business/sso#webpage\",\"url\":\"https://docs.lovable.dev/features/business/sso\",\"name\":\"Set up single sign-on (SSO)\",\"description\":\"Configure Lovable single sign-on (SSO) using OIDC or SAML 2.0 with your identity provider for secure, centralized workspace authentication.\",\"dateModified\":\"2026-01-25T22:46:32.792Z\",\"isPartOf\":{\"@id\":\"https://docs.lovable.dev#website\"}},{\"@type\":[\"Article\",\"TechArticle\"],\"@id\":\"https://docs.lovable.dev/features/business/sso#article\",\"headline\":\"Set up single sign-on (SSO)\",\"name\":\"Set up single sign-on (SSO)\",\"description\":\"Configure Lovable single sign-on (SSO) using OIDC or SAML 2.0 with your identity provider for secure, centralized workspace authentication.\",\"url\":\"https://docs.lovable.dev/features/business/sso\",\"mainEntityOfPage\":{\"@id\":\"https://docs.lovable.dev/features/business/sso#webpage\"},\"image\":\"https://docs.lovable.dev/assets/logo/opengraph-image.png\",\"dateModified\":\"2026-01-25T22:46:32.792Z\",\"keywords\":\"single sign-on, sso, SSO setup, SSO configuration, SSO integration, enterprise SSO, enforce SSO, identity provider, OIDC, SAML, Okta SSO, Auth0 SSO, Microsoft Entra ID SSO, Azure AD SSO\",\"publisher\":{\"@id\":\"https://docs.lovable.dev/#organization\"},\"isPartOf\":{\"@id\":\"https://docs.lovable.dev#website\"}}]}\u003c/script>\u003cscript data-mint-head type=\"application/ld+json\">{\"@context\":\"https://schema.org\",\"@type\":\"WebSite\",\"name\":\"Lovable Documentation\",\"publisher\":{\"@type\":\"Organization\",\"name\":\"Lovable Documentation\"},\"provider\":{\"@type\":\"Organization\",\"name\":\"Mintlify\",\"url\":\"https://mintlify.com\"}}\u003c/script>","agentPointerHref":"/features/business/sso.md","siteName":"Lovable Documentation","nav":{"global":null,"languages":[{"language":"en","tabs":[{"tab":"Introduction","pages":[{"title":"Introduction","href":"/introduction/welcome"}]},{"tab":"Features","pages":[{"title":"Modes","icon":"sliders","href":"/features/modes"},{"title":"Code mode","icon":"code","href":"/features/code-mode"},{"title":"Customize projects with design tools","sidebarTitle":"Design tools","icon":"palette","href":"/features/design"},{"title":"Lovable Cloud","icon":"database","href":"/features/cloud"},{"title":"Lovable AI","icon":"bolt","href":"/features/ai"},{"title":"Custom knowledge","icon":"book-open","href":"/features/knowledge"},{"title":"Collaboration","icon":"people-group","href":"/features/collaboration"},{"title":"Control project visibility","icon":"lock","href":"/features/private-projects"},{"title":"Publish your app","icon":"rocket","href":"/features/publish"},{"title":"Project analytics","icon":"chart-bar","href":"/features/analytics"},{"title":"Connect a custom domain","sidebarTitle":"Custom domains","icon":"earth-europe","href":"/features/custom-domain"},{"title":"Security","icon":"shield-halved","href":"/features/security"},{"title":"Labs","description":"Learn about and manage early access features.","icon":"flask","href":"/features/labs"},{"title":"Set up single sign-on (SSO)","sidebarTitle":"Single sign-on (SSO)","icon":"shield-keyhole","href":"/features/business/sso"},{"title":"Data opt-out","description":"Enhanced data privacy controls for your organization","icon":"server","href":"/features/business/data-opt-out"},{"title":"Design templates","icon":"copy","href":"/features/business/design-templates"}]},{"tab":"Integrations","pages":[{"title":"Integrations","href":"/integrations/introduction"}]},{"tab":"Tips \u0026 Tricks","pages":[{"title":"Tips \u0026 Tricks","href":"/tips-tricks/best-practice"}]},{"tab":"Prompt engineering","pages":[{"title":"Prompt engineering","href":"/prompting/prompting-one"}]},{"tab":"Use cases","pages":[{"title":"Use cases","href":"/use-case/video-tutorials"}]},{"tab":"Glossary","pages":[{"title":"Glossary","href":"/glossary"}]},{"tab":"Changelog","pages":[{"title":"Changelog","href":"/changelog"}]}]},{"language":"es","pages":[{"title":"es","href":"/es/features/business/sso"}]},{"language":"ja","pages":[{"title":"ja","href":"/ja/features/business/sso"}]},{"language":"zh","pages":[{"title":"zh","href":"/zh/features/business/sso"}]},{"language":"fr","pages":[{"title":"fr","href":"/fr/features/business/sso"}]},{"language":"de","pages":[{"title":"de","href":"/de/features/business/sso"}]},{"language":"pt-BR","pages":[{"title":"pt-BR","href":"/pt-BR/features/business/sso"}]},{"language":"it","pages":[{"title":"it","href":"/it/features/business/sso"}]}]},"basePath":"","title":"Set up single sign-on (SSO) - Lovable Documentation","deploymentId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","buildId":"dpl_HZVV42MMRSo9WnNHfTGZvby5jph9","dynamics":[],"chunks":[]}