Body:
Environment
- gws version: 0.22.5
- OS: macOS (Darwin 25.1.0, Apple Silicon)
- Node.js: v24.11.1
- OAuth client type: Desktop app (created via Google Auth Platform console)
- Google Workspace: Internal user type
- Auth method tried: env vars (GOOGLE_WORKSPACE_CLI_CLIENT_ID +
GOOGLE_WORKSPACE_CLI_CLIENT_SECRET) and client_secret.json
Steps to Reproduce
- Created a GCP project with OAuth consent screen (Internal)
- Created a Desktop app OAuth client via Google Auth Platform > Clients
- Set env vars and ran
gws auth login
- Browser opens but Google returns an error immediately
Expected
Browser opens Google consent screen to authorize.
Actual
Browser shows "Access blocked: Authorization Error" with:
- "Required parameter is missing: response_type"
- Error 400: invalid_request
Screenshot
-
attached
Notes
gcloud auth login works fine with the same Google account
- The client_secret.json downloaded from the console is valid JSON in the correct
{"installed": {...}} format
- Tried both env var and file-based auth — same result
- The OAuth URL that gws constructs appears to be missing the
response_type=code
parameter

Body:
Environment
GOOGLE_WORKSPACE_CLI_CLIENT_SECRET) and client_secret.json
Steps to Reproduce
gws auth loginExpected
Browser opens Google consent screen to authorize.
Actual
Browser shows "Access blocked: Authorization Error" with:
Screenshot
attached
Notes
gcloud auth loginworks fine with the same Google account{"installed": {...}}formatresponse_type=codeparameter