SupabaseS
Supabase12mo ago
J_men

CLI - db push requires unrelated secrets

I have a local instance of supabase with Google OAuth setup. I specify the Google secrets in the toml from a .env file which is ignored in the repo

e.g.
[auth.external.google] enabled = true client_id = "env(GOOGLE_CLIENT_ID)" secret = "env(GOOGLE_SECRET)"

Now when I run the supabase db push command in the pipeline to deploy to the remote instance, it complains that these secrets are not present in the toml config. But the Google OAuth values are not required to do a database migration

Is there any way to resolve this, I don't really want to put the secrets into the pipeline when they shouldn't be necessary
Was this page helpful?