SupabaseS
Supabase2w ago
3 replies
Lara

CORS error when accessing local Supabase instance from the browser

Hello! I'm developing a Next.js app and running Supabase locally in a Docker container. When I access my frontend via an ngrok domain, I can't access Supabase at all; every request to Supabase is blocked with a CORS error. This includes auth requests and access to tables.

Is there a way around this? I only have one ngrok domain, and must use it for the frontend for other technical reasons.
Was this page helpful?