---
title: "Discussion on \"Supabase login works locally but fails in production\" | Hashnode"
description: "Discussion on \"Supabase login works locally but fails in production\". Sign-in works on your machine or in the builder's preview. On the live domain it sends people back to the sign-in page, the email link opens localhost, or Google sign-in shows an error.\nThe code is us"
url: "https://hashnode.com/posts/supabase-login-works-locally-but-fails-in-production/6ad1ff5354d3efb4f4f5fa23"
---

[Feed](https://hashnode.com/feed) /

Discussion

# [Supabase login works locally but fails in production](https://harjotrana.hashnode.dev/supabase-login-works-locally-but-fails-in-production?utm_source=hashnode&utm_medium=feed)

Sign-in works on your machine or in the builder's preview. On the live domain it sends people back to the sign-in page, the email link opens localhost, or Google sign-in shows an error. The code is us

Oct 16 · 5 min read · harjotrana.hashnode.dev  
Read the article

-   [#supabase-auth](https://hashnode.com/tag/supabase-auth)

## Written by

[Harjot Singh Rana](https://hashnode.com/@harjotrana)

@harjotrana

  
[View profile](https://hashnode.com/@harjotrana)

## Responses

Markdown supported · ⌘↵ to post

No responses yet.
