Skip to content

The Postgres development platform. Supabase gives you a dedicated Postgres database to build your web, mobile, and AI applications.

feat(supabase): enable github login (#36927)

Charis5d794b095930
diff --git a/supabase/config.toml b/supabase/config.toml
index 9627b9d52e5..c698fcad1ad 100644
--- a/supabase/config.toml
+++ b/supabase/config.toml
@@ -79,6 +79,11 @@ secret = "env(GITHUB_SECRET)"
# Overrides the default auth redirectUrl.
redirect_uri = "http://localhost:54321/auth/v1/callback"
+[remotes.prod.auth.external.github]
+enabled = true
+client_id = "env(GITHUB_CLIENT_ID)"
+secret = "env(GITHUB_SECRET)"
+
# Use an external OAuth provider. The full list of providers are: `apple`, `azure`, `bitbucket`,
# `discord`, `facebook`, `figma`, `github`, `gitlab`, `google`, `keycloak`, `linkedin`, `linkedin_oidc`, `notion`,
# `twitch`, `twitter`, `slack`, `spotify`, `workos`, `zoom`.