© 2026 Hedgehog Software, LLC

TwitterGitHubDiscord
More
CommunitiesDocsAboutTermsPrivacy
Search
Star
Setup for Free
SupabaseS
Supabase•3w ago•
13 replies
akugold

Branching + config.toml

🌲branching
Hi!
Couple of questions:

How should I setup my config.toml to automatically setup google oauth provider for every branching environment?

Is there a way to automatically set the branching name from git branch to the config entry? Or am I doing this wrong?

Currently just getting this error :

2026/01/16 08:30:55 Invalid config for remotes.git-branch-name.project_id. Must be like: abcdefghijklmnopqrst


[remotes.git-branch-name]
project_id = "myproject"

[remotes.git-branch-name.external.google]
enabled = true
client_id = "env(GOOGLE_CLIENT_ID)"
secret = "env(GOOGLE_CLIENT_SECRET)"
skip_nonce_check = false
[remotes.git-branch-name]
project_id = "myproject"

[remotes.git-branch-name.external.google]
enabled = true
client_id = "env(GOOGLE_CLIENT_ID)"
secret = "env(GOOGLE_CLIENT_SECRET)"
skip_nonce_check = false



This is all on cloud hosted supabase deployment.

Any tips or tricks to branching or config.toml are very welcome. Thanks!
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

Similar Threads

Was this page helpful?
Recent Announcements

Similar Threads

config.toml otp and bucket branching
SupabaseSSupabase / help-and-questions
14mo ago
supabase/config.toml file locally
SupabaseSSupabase / help-and-questions
4mo ago
Supabase local config toml of linkedin oidc
SupabaseSSupabase / help-and-questions
3y ago
Feature Request. Add schema exposure to config.toml
SupabaseSSupabase / help-and-questions
6mo ago