Email sign-in settings
Allow or block email sign-up, require confirmation, confirm email changes from the old address, and prevent leaked passwords.
Most Bolt sign-in bugs trace back to one setting: the Site URL still pointing at localhost. Here is what to check.
Sound familiar?
If Bolt password-reset or confirmation links open localhost, change the Site URL from Bolt’s default localhost:3000 to your live domain and add every domain to the redirect allow list. For Google sign-in, publish your Google OAuth app, because Testing mode caps sign-in at 100 users.
Why it happens
By default, Bolt projects use localhost:3000 as the Site URL. When a sign-in link’s redirect URL isn’t on the redirect allow list, authentication falls back to the Site URL, so reset and confirmation links point at a machine your users can’t reach. Bolt’s docs say that when reset links don’t work, the cause is usually the Site URL or the allow list.
Google sign-in uses an OAuth app you create in Google Cloud. Google sets new OAuth apps to Testing, which limits sign-in to up to 100 users, and your app’s name and logo don’t appear until you publish your branding.
Already done for you
Allow or block email sign-up, require confirmation, confirm email changes from the old address, and prevent leaked passwords.
Edit and preview the confirmation and reset emails, with variables such as the confirmation link and a 6-digit code.
Site URL and the redirect URL allow list.
Paste your Google client ID and secret into the project’s authentication settings.
Fix it yourself
In this order. Most apps get most of the way with these alone.
In your database’s authentication settings, replace localhost:3000 with your published address or custom domain.
List each domain you use, so sign-in links don’t fall back to the Site URL.
So people can’t sign up with addresses they don’t own. Keep leaked-password prevention on.
In Google Cloud, add the authorized JavaScript origins and the redirect URI Bolt shows, then paste the client ID and secret into Bolt.
Move it out of Testing, which caps sign-in at 100 users, and publish your branding so customers see your app’s name.
Preview the confirmation and reset templates and click each link from a real inbox.
If the steps above turn up more than you have time for, or the app already has paying users, I take Bolt apps to production: login and access rules, database and backups, payments, security, SEO and deployment.
App rescue: From $1,000, fixed price, scoped in writing before any work starts.
More in app rescue, or hire a Bolt developer.
Questions
The Site URL still has Bolt’s default, localhost:3000, or the link’s redirect URL isn’t on the allow list. Set both to your live domain.
Your Google OAuth app is probably still in Testing, which limits sign-in to up to 100 users. Publish it in Google Cloud.
Yes. Edit and preview the templates in the authentication settings, or reset them all to the defaults.
Send me the app and what’s worrying you. You get a written scope with a fixed price before any work starts.