Your login options in Lovable
Lovable Cloud uses email sign-in by default, and you can add others under More → Cloud → Users → Auth settings. Here’s which ones send email:
| Sign-in option | Emails your users get | Test with Proxy Mail QA |
|---|---|---|
| Email and password (the default) | Confirmation, password reset, email change | Yes |
| Email codes | A code to sign in | Yes, with a Copy button |
| Magic links | A link to sign in | Yes |
| Invites (Add user) | An invitation | Yes |
| Google, Apple or Microsoft | None to sign in | No: use an account you own |
| Sign in with Lovable | None from your app | No: use your Lovable account |
| Phone | A text message | No |
| SAML SSO | None to sign in | No |
New to these? Login methods explained covers what each one does and what usually breaks.
Test every login email in five minutes
- Create an address in Proxy Mail QA, with a generated persona if your form asks for a name.
- Sign up on your published app, not only in the editor preview.
- Use the link or code from the row. A confirmation link gets Open link and Copy link buttons; codes get a Copy button.
- Then test the rest: sign out, request a code, magic link or password reset, and use those too.
- Save the password on the row so you can sign in as this user again later.
The two settings that break Lovable login emails
1. The Site URL. Login emails build their links from it. On Lovable Cloud, Lovable sets it to your published lovable.app address when you publish and adds custom domains to the redirect list, unless you’ve set a Site URL yourself: check it under Auth settings → Advanced. On your own Supabase project, nothing updates automatically. Open Authentication → URL Configuration, set Site URL to your published address or custom domain, and add the others under Redirect URLs. Otherwise confirmation links send people to localhost:3000. Proxy Mail QA flags those links, including hosted Supabase links that only redirect to localhost after verifying. Full guide.
2. The email sender. On Lovable Cloud, login emails come from a generic sender until you set up your own domain under More → Cloud → Emails, so your users recognise who they’re from. On your own Supabase project, the built-in sender is for development: it sends only 2 emails an hour, and only to members of your Supabase project’s team, so mail to a test address never leaves Supabase. Set up custom SMTP with a provider such as Resend before you test with outside addresses or launch. Other reasons email doesn’t arrive.
Ask Lovable for the fix
Once you’ve seen the problem, a precise prompt works best: “Use the current site’s address as the email redirect for sign-up and password reset, instead of a hard-coded URL.” Then sign up again with a fresh address to confirm.
Check that one user can’t see another’s data
A November 2026 scan of Lovable apps found thousands whose Supabase tables returned rows to anyone, with no login. Lovable Cloud runs on Supabase too, so each table holding users’ data needs Row Level Security with a policy per user. Sign up with two Proxy Mail QA addresses and check that neither account can read or change the other’s data: Check that one user can’t see another’s data has the steps, a curl to try and the policies that fix it.
Connect Lovable’s agent to Proxy Mail QA
In Lovable, open Connectors → Add custom → MCP server, give it https://api.proxymail.qa/mcp and sign in to Proxy Mail QA when it asks (Lovable uses OAuth by default; it also takes a bearer token, an API key). This works on every Lovable plan, according to Lovable’s docs on 13 November 2026.
Once it’s connected, the agent can make a test address, read the code or link that arrives, say why an email didn’t come (check_delivery) and list the test addresses to clean up. Whether it can also fill in your sign-up form depends on the browser tools it has; if it can’t, sign up in the preview yourself, or with Proxy Mail QA for Chrome.
Clear out test users
Every test sign-up leaves a user in your app. When you’re done, open Project settings → Test users to delete in Proxy Mail QA (or ask the agent for get_cleanup_list): it lists every test address the project used, live or gone, and the domains they end in. On Lovable Cloud, delete each one under More → Cloud → Users: open the user and choose Delete user, which can’t be undone. On your own Supabase project, use Authentication → Users.
Copy-paste prompts for Lovable
List every email this app sends: sign-up confirmation, magic link, password reset, invite and email change. For each, tell me what triggers it, which URL its link points to, and how long its link or code stays valid. Flag anything that uses localhost.
Use the current site's address as the email redirect for sign-up, magic links and password reset, instead of a hard-coded URL. After a password reset, send the user to a page where they choose a new password, then sign them in.
Show a clear message when a confirmation or reset link has expired or was already used, with a button to send a new one.