How login emails work in a Bolt app
Bolt’s built-in database includes authentication, and its settings appear once your project has a database: open the database icon at the top of the screen, then Authentication. When someone signs up, asks for a password reset or a magic link, the email is sent by the database’s auth service (Bolt’s docs say its templates are powered by Supabase), and its link is built from your Site URL and redirect list.
Your login options in Bolt
| Sign-in option | Emails your users get | Test with Proxy Mail QA |
|---|---|---|
| Email and password | Confirmation (if you require it), password reset, email change | Yes |
| Magic links or codes, if you ask Bolt for them | A link or code to sign in | Yes |
| Continue with Google | None to sign in | No: use a Google account you own |
Google sign-in needs your own Google Cloud OAuth client: Bolt shows the redirect address to add there, under All project settings → Authentication → Continue with Google. Test it on the published app, not only the preview. New to these options? Login methods explained.
Test every login email in five minutes
- Turn on confirmation. Open the database icon, then Authentication → Email, and switch on Require users to confirm their email after signing up if your app should check addresses.
- Publish, then create an address in Proxy Mail QA, with a generated persona if your form asks for a name.
- Sign up on the published app, not only in the 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, reset the password, sign in with the new one, and save it on the row. No Forgot password link yet? Ask Bolt to add one.
The two settings to check
1. Site URL and redirects. Under Advanced Authentication options, the Site URL should be your published address and the URI allow list should include every address your app runs on. If a reset link lands on localhost:3000, this is why. Proxy Mail QA flags links that go to a local address, including ones that only redirect there after verifying. Full guide.
2. The email template. In Authentication, click the Email row, then Edit email templates to change each email’s subject and body. If you add the code ({{ .Token }}) to the template, the row shows it with a Copy button; the link ({{ .ConfirmationURL }}) gets Open link and Copy link buttons.
Check that one user can’t see another’s data
Bolt’s database is Supabase, and the page hands every browser a key to it, so Row Level Security is what keeps one user’s rows from the next. 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 and the policies that fix it.
Connect Bolt’s agent to Proxy Mail QA
In Bolt, choose + in the chat box, then Connectors → Manage connectors → Custom MCP server. Give it https://api.proxymail.qa/mcp with MCP OAuth, and sign in to Proxy Mail QA when it asks, or use an API key instead.
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. Bolt’s database runs on Supabase, so the users are under Authentication → Users in Supabase once you’ve claimed the database (Bolt’s docs describe claiming it under the database icon, Advanced).
Copy-paste prompts for Bolt
Paste these into Bolt’s chat. Then test again with a fresh address.
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.
Make every auth email link back to the published app, not localhost. Use the current site's address for the sign-up and password-reset redirects, and make sure the published address is in the authentication redirect list.
After a password reset, send the user to a page where they choose a new password, then sign them in. Show a clear message if the reset link has expired or was already used.