From 78358cad9b70c0935498ad5a188df6a127d9c7cf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20D=C3=B6ll?= Date: Wed, 3 Jul 2024 09:57:36 +0000 Subject: [PATCH] fix: use client secret --- cmd/web/cmd/cfg.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/cmd/web/cmd/cfg.go b/cmd/web/cmd/cfg.go index 13e48430..b80c1aac 100644 --- a/cmd/web/cmd/cfg.go +++ b/cmd/web/cmd/cfg.go @@ -24,7 +24,7 @@ type Flags struct { FGAApiUrl string `envconfig:"TYPHOON_WEB_FGA_API_URL" default:"http://host.docker.internal:8080"` FGAStoreID string `envconfig:"TYPHOON_WEB_FGA_STORE_ID" default:""` FGAAuthorizationModelID string `envconfig:"TYPHOON_WEB_FGA_AUTHORIZATION_MODEL_ID" default:""` - GothGitbubKey string `envconfig:"TYPHOON_WEB_GITHUB_KEY" default:""` + GothGitbubKey string `envconfig:"TYPHOON_WEB_GITHUB_CLIENT_ID" default:""` GothGithubSecret string `envconfig:"TYPHOON_WEB_GITHUB_SECRET" default:""` GothGithubCallback string `envconfig:"TYPHOON_WEB_GITHUB_CALLBACK" default:"http://localhost:3000/auth/github/callback"` }