Confirmation email links open localhost instead of live app due to Site URL setting
New users who tap the sign-up confirmation email may be sent to a localhost address or preview link instead of the published app, causing the page to fail. This is a common issue in apps built with AI tools and often stems from the sign-in service's Site URL still pointing to a developer's computer. The article explains that the fix is usually a configuration change rather than a code change, such as updating the Site URL and redirect URLs in the Supabase project. Developers can verify the problem by signing up with a fresh email on the live site and checking the link's address before tapping it. If the setting is correct but the link is still wrong, the redirect address may be hardcoded in the app's code and need updating.
This is an AI-generated summary. ShortSingh links to the original source for the complete article.
Discussion (0)
Log in to join the discussion and vote.
Log in