# Case: confirmation link opened the builder login

Source: https://vibe-fixer.com/guides/case-confirmation-link-opened-builder-login
Last updated: 2026-12-02

**Short answer:** On our own test app, the link in the sign-up confirmation email opened the builder's login page instead of the app, so new people never got in. The cause was a fixed preview address in the code that builds email links. Our AI agent signed up as a new person, saw it, and fixed it in the code. After the app was published, its live re-check got the email in 11 seconds, and the link opened the app, signed in.

## Key takeaways

- Symptom: the confirmation link opened the builder's login page, not the app.
- Cause: the email links were built from a fixed, private preview address instead of the published address.
- Fix: one helper in one file now uses the address the visitor is on. The change came as a pull request.
- Re-check: a brand-new user on the live app got the email in 11 seconds, and the link opened the app, signed in (1 to 3 November 2026).

# Case: the confirmation link opened the builder's login

This is our own test app, built with Lovable and Supabase. We planted this bug on purpose to test the whole fix route. It is not a customer's app.

## Symptom

A new visitor signed up and got the confirmation email. Its link opened the builder's login page (lovable.dev/login) instead of the app. The account itself was confirmed, but the visitor never got back into the app. To the visitor, sign-up simply looked broken.

## Cause

The code built the confirmation and password reset links from a fixed preview address of the project, not from the app's published address. Only the project's owner can open that preview address, so every link went to the builder's login first.

## Fix

Our AI agent signed up on the live app as a new person, saw where the link went, and found the cause in the code. It changed one helper in one file, so both links use the address the visitor is actually on. The confirmation link now returns to the app's welcome page, and the reset link to its reset page, both on the live address. The change came as a pull request. Merging it applied the fix, and then the app was published.

## Re-check on the live app

After the app was published, our AI agent signed up again as a brand-new user. The email arrived in 11 seconds, and its link opened the app, signed in.

## Check your own app for this

1. Sign up on your live app in a private window with a new email address, and open the link in the email.
2. If it opens a preview address, localhost or a login page that is not your app, look in your sign-up code for the redirect address (in Supabase, the emailRedirectTo option). Check whether a fixed address is typed into it.
3. In Supabase, open Authentication, then URL Configuration. The redirect address your code asks for must be in the Redirect URLs list. If it is not, Supabase uses the Site URL instead.
4. Test again with another new email address, because old emails keep the old link.

**Confirmation links broken on your live app?** [Check my app free](https://vibe-fixer.com/?src=case-confirmation-link-builder-login#triageForm): our AI agent signs up like a new user and shows you what breaks. The fix price is on the [pricing page](https://vibe-fixer.com/pricing).

Related: [Who can fix my AI-built app?](https://vibe-fixer.com/guides/vibe-coding-expert) · [App fix price](https://vibe-fixer.com/pricing) · [The confirmation link in my sign-up email opens localhost](https://vibe-fixer.com/guides/confirmation-link-opens-localhost) · [Case: sign-up sent a password reset email](https://vibe-fixer.com/guides/case-signup-sent-password-reset) · [Case: sign-up emails still linked to localhost](https://vibe-fixer.com/guides/case-settings-looked-right-localhost) · [Ways to fix a broken AI-built app](https://vibe-fixer.com/guides/who-can-fix-my-vibe-coded-app)

VibeFix is independent. Lovable and Supabase are trademarks of their owners.

Want it fixed for you? For any app whose code is on GitHub, whichever tool built it, VibeFix's AI agent can find the cause of this error, fix it in your code and re-check your live app. Start with a free check: https://vibe-fixer.com
