This page documents Sign in with Lovable for your app’s users. It is available only for apps using the built-in backend (Cloud). It is not about Sign in with Lovable for sites you did not build with Lovable, which uses an OAuth client you register yourself, and not about workspace identity reuse, which recognizes your own workspace members without a login page. For an overview of all sign-in methods, see Users and authentication.
Why use Sign in with Lovable
Sign in with Lovable fits apps whose users already have a Lovable account:- A directory, marketplace, or community tool for people who build with Lovable, where members sign up without creating another password
- An app that needs to know which Lovable account a person uses, for example to connect their activity in your app to their Lovable profile
- A companion app for your Lovable projects, where the same account works everywhere
What your users see
Sign-in takes three steps, and Lovable runs all of them:- The user selects Continue with Lovable in your app. On a screen that only signs people in, the button says Sign in with Lovable.
- Lovable asks them to log in to their Lovable account if they are not logged in already. On their first sign-in to your app, Lovable also asks them to allow your app to see their name and email address, on a consent screen that shows your project’s name.
- Lovable sends the user back to your app, signed in.
Add Sign in with Lovable
You can add Sign in with Lovable from the project chat or from the auth settings. Either way, the provider and the button both need to be in place.1
Prompt Lovable to add the button
2
Test the flow
Verify that:
- a Continue with Lovable or Sign in with Lovable button appears on your login page
- the Lovable consent screen shows your project’s name
- the user returns to the app in a signed-in state
- the new user appears in More → Cloud → Users with Lovable as a login method
What Lovable manages for you
Sign in with Lovable is fully managed. When you enable it, Lovable registers an OAuth client named after your project and stores its credentials for the project. Lovable also keeps the client’s redirect addresses in step with your app. Yourlovable.app address and every custom domain connected to the project are added, and Lovable updates them when your app’s address changes or when you connect or remove a domain. When you rename the project, Lovable renames the client to match.
The client belongs to the project and does not appear under Workspace settings → API keys & OAuth. That section lists the OAuth clients you register yourself for apps and tools that are not built with Lovable.
Remove Sign in with Lovable
To remove the sign-in option, ask Lovable in the project chat:Limitations
Two restrictions apply.- The Lovable sign-in method is managed by Lovable only. You cannot attach your own OAuth client to it, and the consent screen always shows Lovable branding with your project’s name.
- Any Lovable account can sign in. To limit an app to your own workspace members, use workspace identity reuse instead.
Troubleshooting
Sign-in with Lovable fails on my custom domain
Sign-in with Lovable fails on my custom domain
Lovable adds every connected custom domain to the client’s redirect addresses a few seconds after the domain becomes active, so a failure usually means you tried before that update finished. Try again. If it still fails, ask Lovable in the project chat to check the sign-in configuration for your domain.
FAQ
Do my users need a Lovable account?
Do my users need a Lovable account?
Yes. Sign in with Lovable signs people in with a Lovable account rather than creating one in your app. Anyone without an account can create one on the Lovable login page during sign-in.
Can I use my own OAuth client for Sign in with Lovable?
Can I use my own OAuth client for Sign in with Lovable?
Not with this sign-in method, which Lovable always manages. If you need your own client, for example to choose its name or redirect addresses, register one under OAuth clients and add the sign-in to your app yourself with the SDK or the OpenID Connect flow described in Sign in with Lovable. Your app then runs that sign-in outside the built-in authentication, and the people who sign in that way are not part of its Users list.
Can I limit Sign in with Lovable to my workspace members?
Can I limit Sign in with Lovable to my workspace members?
No. Any Lovable account can sign in to your app. For an internal tool, use workspace identity reuse, which recognizes the logged-in workspace member and requires no login page.