Skip to content

Commit 0883b20

Browse files
Rodriguespnclaude
andcommitted
revert: remove SUPABASE_PUBLIC_URL env var
The OAuth protected resource redirect feature doesn't require SUPABASE_PUBLIC_URL. Edge Functions can handle URL resolution themselves using custom env vars like PUBLIC_URL if needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
1 parent b3ceccb commit 0883b20

1 file changed

Lines changed: 0 additions & 1 deletion

File tree

internal/functions/serve/serve.go

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,6 @@ func ServeFunctions(ctx context.Context, envFilePath string, noVerifyJWT *bool,
129129
jwks, _ := utils.Config.Auth.ResolveJWKS(ctx)
130130
env = append(env,
131131
fmt.Sprintf("SUPABASE_URL=http://%s:8000", utils.KongAliases[0]),
132-
"SUPABASE_PUBLIC_URL="+utils.Config.Api.ExternalUrl,
133132
"SUPABASE_ANON_KEY="+utils.Config.Auth.AnonKey.Value,
134133
"SUPABASE_SERVICE_ROLE_KEY="+utils.Config.Auth.ServiceRoleKey.Value,
135134
"SUPABASE_DB_URL="+dbUrl,

0 commit comments

Comments
 (0)