Skip to content

feat(auth): warn on default OAuth client ID usage - #1188

Merged
sqrrrl merged 1 commit into
masterfrom
feat/default-client-id-deprecation-warning
Dec 3, 2026
Merged

sqrrrl merged 1 commit into
masterfrom
feat/default-client-id-deprecation-warning

Conversation

@sqrrrl

@sqrrrl sqrrrl commented Dec 3, 2026

Copy link
Copy Markdown
Member

Summary

  • Warn on stderr whenever a command executes using the default clasp OAuth client ID, noting it will be disabled on March 1st, 2027.
  • Add global --skip-client-id-warning flag and CLASP_SKIP_CLIENT_ID_WARNING environment variable to suppress the warning.
  • Update README.md with a prominent deprecation warning banner and instructions for suppressing the warning.
  • Add unit tests in test/commands/program.ts.

Testing

  • npm run check (biome check src test && npm run compile): passed
  • npm test: 224 passing

@sqrrrl
sqrrrl merged commit 3b02173 into master Dec 3, 2026
11 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant