diff options
| author | Frank <[email protected]> | 2025-08-09 01:28:27 -0400 |
|---|---|---|
| committer | Frank <[email protected]> | 2025-08-09 01:28:27 -0400 |
| commit | 7446f5ad7b4c27ff1fa201bc48a67178ff10e7b7 (patch) | |
| tree | a445ad199a2c80bf54dcf582ebd0a03695035053 /infra | |
| parent | 81a3e02474445bc4d22c7857d4c3b1f591c1cb56 (diff) | |
| download | opencode-7446f5ad7b4c27ff1fa201bc48a67178ff10e7b7.tar.gz opencode-7446f5ad7b4c27ff1fa201bc48a67178ff10e7b7.zip | |
wip gateway
Diffstat (limited to 'infra')
| -rw-r--r-- | infra/cloud.ts | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/infra/cloud.ts b/infra/cloud.ts index 4625bb282..1d93d58da 100644 --- a/infra/cloud.ts +++ b/infra/cloud.ts @@ -56,12 +56,13 @@ new sst.x.DevCommand("Studio", { const GITHUB_CLIENT_ID_CONSOLE = new sst.Secret("GITHUB_CLIENT_ID_CONSOLE") const GITHUB_CLIENT_SECRET_CONSOLE = new sst.Secret("GITHUB_CLIENT_SECRET_CONSOLE") +const GOOGLE_CLIENT_ID = new sst.Secret("GOOGLE_CLIENT_ID") const authStorage = new sst.cloudflare.Kv("AuthStorage") export const auth = new sst.cloudflare.Worker("AuthApi", { domain: `auth.${domain}`, handler: "cloud/function/src/auth.ts", url: true, - link: [database, authStorage, GITHUB_CLIENT_ID_CONSOLE, GITHUB_CLIENT_SECRET_CONSOLE], + link: [database, authStorage, GITHUB_CLIENT_ID_CONSOLE, GITHUB_CLIENT_SECRET_CONSOLE, GOOGLE_CLIENT_ID], }) const ANTHROPIC_API_KEY = new sst.Secret("ANTHROPIC_API_KEY") |
