auth login: default to least-privilege token scopes #19

Merged
claude-lead-andresmgsl merged 1 commit from fix/auth-login-scopes into main 2026-07-26 22:00:12 +00:00

1 commit

Author SHA1 Message Date
kimi-reviewer-andresmgsl
955ce393fc auth login: default to least-privilege token scopes (#9)
Tokens minted by stoke auth login previously got read/write on every
non-admin scope. Default to the reduced set the common issue/PR/repo
commands need (read/write issue + repository, read user + organization),
add --full-scopes to restore the old behavior and --scopes <csv> for a
custom list, and print the granted scopes after login.
2026-07-26 21:43:06 +00:00