[▲ Vercel Community](/) · [Categories](/categories) · [Latest](/latest) · [Top](/top) · [Live](/live)

[Help](/c/help/9)

# Unable to login "Supabase is not configured. Check environment variables."

29 views · 2 likes · 3 posts


GB (@gbezard) · 2026-02-18

I have been repeatedly unable to login in my App, I get the message "Supabase is not configured. Check environment variables" V0 has been running in loop trying to fix this, but it has not been able to find a long term solution.

<!-- Current versus Expected behavior -->

<!-- Code, configuration, and steps that reproduce this issue -->

<!-- Project information (URL, framework, environment, project settings) -->


Pauline P. Narvas (@pawlean) · 2026-02-18 · ♥ 1

The issue is that your Supabase environment variables need to be properly configured in v0's project settings.

1. In your v0 chat, click the *Settings* gear icon (top right corner)
2. Go to *Environment Variables*
3. Check if you have these variables:
• `NEXT_PUBLIC_SUPABASE_URL`
• `NEXT_PUBLIC_SUPABASE_ANON_KEY`
If they exist:
• Click on each variable to edit it
• *Important*: Enable all three environments: Production, Preview, and Development
• Click save and then publish your project
If they don't exist:
• Go to the *Integrations* tab in settings
• Make sure to enable all environments when prompted
After making these changes, the v0 should be able to access your Supabase configuration and stop the error loop. Let me know if you need any clarification!


GB (@gbezard) · 2026-02-19 · ♥ 1

[quote="pawlean, post:4, topic:34056"]
*Important*: Enable all three environments: Production, Preview, and Development

[/quote]

Thank you, they were enabled but not all of them had “*Important*: Enable all three environments: Production, Preview, and Development” checked it seems