In short.
This guide explains workplace sign-in for Lovable app builders, and the feature requires Lovable’s built-in Cloud backend. It documents connecting one OpenID Connect (OIDC) provider per project using an HTTPS issuer URL, client ID and client secret. The identity provider keeps its password, multifactor authentication and device rules; the app receives email and profile information. The page says the feature is available on all plans, subject to the workspace SSO setting on Business and Enterprise. Adding the sign-in button consumes build credits, but exact costs are unknown. Runtime behavior and provider compatibility have not been tested.
Researched and written by an AI model and checked by a second AI model. How it works
Covers the complete selected documentation page at [https://docs.lovable.dev/features/oidc-auth.md], including its distinctions between app-user OIDC, workspace SSO and SAML, prerequisites, setup, credential handling, management behavior, build-credit notice and limitations. The documentation index and every linked page are excluded. No software or sign-in flow was executed; runtime behavior, provider interoperability and security properties remain untested.
The overview
identity
This is Lovable’s configuration guide for connecting an app’s users to an existing OpenID Connect identity provider on the built-in Cloud backend. It names Auth0, Okta, Microsoft Entra ID and Keycloak as examples.
The feature authenticates people using your app. Workspace SSO authenticates your team to Lovable itself, while SAML sign-in is a separate feature. The page explicitly distinguishes these three.
assessment
The guide provides enough detail to understand the feature’s fit and attempt configuration: required access, the exchange of settings with the provider, expected interface changes, credential rotation and disabling behavior.
Its strongest fit is a Cloud project using one existing OIDC provider with the documented scopes. The statement that any OIDC provider can work within these limits is a documentation claim; the page supplies no interoperability results.
users
The intended users are builders of internal tools, apps for one customer and business-to-business products whose users already have work identities. Their organization’s existing identity provider decides who can sign in and applies its authentication rules.
Configuration requires someone with project edit access and someone able to administer the identity provider. These permissions may belong to different people.
capabilities
Enabling OIDC and saving the provider configuration starts a build that adds a sign-in button to the app. Users authenticate with the provider, which retains its password, multifactor authentication and device rules. The app receives email and profile information.
You can rotate the client secret in the OIDC settings; leaving its field blank preserves the stored secret. Disabling OIDC stops sign-in through that provider and starts a build to remove the button. Existing accounts remain in the Users list.
Using it
requirements
The project must use Lovable Cloud with authentication enabled, so More → Users displays Settings. You need project edit access and provider administrator access to register an OpenID Connect web application and obtain its issuer URL, client ID and client secret.
The issuer URL must use HTTPS and stop before the /.well-known/openid-configuration portion. Business and Enterprise workspaces must allow SSO under App login methods; that setting governs both OIDC and SAML sign-in.
mechanism
OIDC lets the app use an existing identity service to sign people in. The provider’s registered web application receives the project’s redirect URI, while Lovable receives the provider’s issuer URL and client credentials. The documented user flow goes from the app’s sign-in button to the provider and then back to the app signed in.
Lovable requests the fixed scopes openid, profile and email. Scopes describe the information the app asks the provider to share. The page does not specify the underlying protocol flow, token-validation behavior or session handling.
setup
Open More → Users → Settings, select OIDC, enable OIDC sign-in and copy the displayed Redirect URI. In the identity provider, register an OpenID Connect web application and add that URI to its allowed sign-in redirects.
Return to Lovable and enter the issuer URL, client ID and client secret, then save. Enter the secret in these settings rather than project chat; Lovable masks it. The OIDC row should show Enabled, and a build starts in project chat to add the sign-in button.
The guide’s final check is to open the app’s sign-in page in a private browser window, select the new button, authenticate with the provider and confirm the return to the app signed in.
example
For an illustrative internal tool on Lovable Cloud whose staff use Okta, an administrator would register an OIDC web application in Okta and add the redirect URI shown by Lovable. A project editor would then save the Okta issuer URL, client ID and client secret in Lovable’s OIDC settings.
The documented expected result is a new sign-in button that sends staff to Okta and returns them to the app signed in. This example applies the guide’s instructions; it is not an observed integration result.
Assessment & evidence
limitations
Each project can connect only one OIDC provider. The scopes are fixed to openid, profile and email, and the issuer must use HTTPS. Providers serving their configuration only over HTTP cannot connect.
Self-hosted backends are unsupported; the page says saving the form fails for those projects. Business and Enterprise workspace settings can also block enabling the feature.
The page provides limited provider-specific examples, including redirect-field names and an Okta issuer URL, but no complete provider-specific walkthroughs. Claim mapping, account-linking rules and logout behavior are not described.
reasoning
The documented design fits a Cloud app serving an organization that already manages users through one identity provider. It lets that provider retain its existing authentication rules while the app receives the documented identity information.
The same constraints narrow its fit for products needing multiple direct OIDC provider connections in one project, additional scopes or a self-hosted backend. Those requirements cannot be met through the feature as documented.
alternatives
For a SAML 2.0 provider, the page points to SAML SSO [https://docs.lovable.dev/features/saml-sso.md]. For team access to Lovable itself, it points to workspace single sign-on [https://docs.lovable.dev/features/business/sso.md]. These address different authentication needs.
Other project sign-in methods are mentioned but not named. The linked guides are outside the selected scope, so their requirements, limits and costs are not assessed here.
evidence
The source is Lovable’s complete documentation page at [https://docs.lovable.dev/features/oidc-auth.md]. It provides configuration instructions, expected behavior, prerequisites and explicit limits.
The page contains no measured performance results, security audit or provider interoperability test results. Its instructions establish documented behavior, not independently demonstrated outcomes.
Access & freshness
costs
The page says OIDC sign-in is available on all plans. Saving the initial configuration starts a standard app build that consumes credits. Disabling OIDC also starts a build to remove the sign-in button.
The page gives no credit amounts, plan prices or identity-provider pricing, and it does not establish whether there is a separate feature charge. Exact setup and ongoing costs are unknown; availability on all plans does not establish zero cost.
rights
The page supplies no documentation license, redistribution permission or service usage terms. Rights to reuse or redistribute its text and the applicable contractual terms are unknown from this evidence.
The guide says the app receives users’ email and profile information. It does not describe data retention, residency or contractual handling terms for that information.
freshness
The documentation was captured on 2026-11-25 at 18:27:47.106 UTC. The page supplies no publication date, last-updated date or feature version.
The capture timestamp establishes when this documentation was available, not when the feature launched or last changed. Changes after that capture are unknown.
actions
Confirm the Cloud backend, enabled authentication, project edit access and provider administrator access before configuration. Business and Enterprise users should also confirm that the workspace allows SSO.
Follow the redirect-URI exchange, enter the client secret in OIDC settings and use the guide’s private-window sign-in check after the button is added. Obtain credit and provider pricing before estimating cost. Resolve any requirement for multiple direct providers, additional scopes or self-hosting before relying on this feature.
