© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3y ago•
1 reply
Dayrider10

Local Development CLI, Auth Providers Help

Hello all! So I have trying to get local auth providers to work locally! Mainly for development and testing. So right now I am trying to do Google. So this is what I have in my
config.toml
config.toml
file so far that pertains to the auth providers:

[auth.external.google]
enabled = true
client_id = "env(SUPABASE_AUTH_GOOGLE_CLIENT_ID)"
secret = "env(SUPABASE_AUTH_GOOGLE_SECRET)"
redirect_uri = "http://localhost:54321/auth/v1/callback"
[auth.external.google]
enabled = true
client_id = "env(SUPABASE_AUTH_GOOGLE_CLIENT_ID)"
secret = "env(SUPABASE_AUTH_GOOGLE_SECRET)"
redirect_uri = "http://localhost:54321/auth/v1/callback"


So then when I try to navigate to the following link

http://localhost:54321/auth/v1/authorize?provider=google&code_challenge=<redacted>&code_challenge_method=s256
http://localhost:54321/auth/v1/authorize?provider=google&code_challenge=<redacted>&code_challenge_method=s256


I get the following response

{"code":400,"msg":"Unsupported provider: provider is not enabled"}
{"code":400,"msg":"Unsupported provider: provider is not enabled"}


Obviously at face value it is telling me that the provider is not enabled but I do clearly have it enabled. I have started and stopped the CLI multiple times. I have also been trying to follow this guide https://supabase.com/docs/guides/cli/local-development#use-auth-locally to no avail. Can anyone help point me where I am going wrong?

Thank you!
Local Development | Supabase Docs
How to use Supabase on your local development machine.
Local Development | Supabase Docs
Supabase banner
SupabaseJoin
Supabase gives you the tools, documentation, and community that makes managing databases, authentication, and backend infrastructure a lot less overwhelming.
45,816Members
Resources
Was this page helpful?

Similar Threads

Recent Announcements

Similar Threads

Auth providers in local Docker container
SupabaseSSupabase / help-and-questions
7mo ago
mcp server for local development gemini cli
SupabaseSSupabase / help-and-questions
4mo ago
CLI Local Development - Email Auth can't get Confirmation email in InBucket.
SupabaseSSupabase / help-and-questions
3y ago
can you self host from supabase cli (local development)?
SupabaseSSupabase / help-and-questions
4y ago