History

Launch built-in Google OAuth for Calendar and Sheets

Rhys Sullivan committed 2 months ago

Commit ac3bea51 parent 67ee8a013 files · +313 −10Browse files

Showing the changes to e2e/setup (1 of 13 files). Show all

Unified · Split

e2e/setup/cloud.boot.ts+5−0
@@ -104,6 +104,11 @@ export const bootCloud = async (options: CloudBootOptions): Promise<CloudBooted> · 103 unmodified lines
104104 // complete authorize → token dance instead of stopping at github.com.
105105 FIRST_PARTY_GITHUB_AUTHORIZE_URL: process.env.FIRST_PARTY_GITHUB_AUTHORIZE_URL,
106106 FIRST_PARTY_GITHUB_TOKEN_URL: process.env.FIRST_PARTY_GITHUB_TOKEN_URL,
107+ // Fake Google registration for redirect-only first-party coverage. The
108+ // scenario never visits Google or exchanges a code; it proves cloud env,
109+ // scope policy, and authorization URL construction end to end.
110+ FIRST_PARTY_GOOGLE_CLIENT_ID: "e2e-first-party-google",
111+ FIRST_PARTY_GOOGLE_CLIENT_SECRET: "e2e-first-party-google-secret",
107112 // Shrink the per-org hourly execution cap (prod default 1000) to a number
108113 // the rate-limit-backstop scenario can actually exhaust with real
109114 // executions — but see execution-limits.ts: it must stay above every other