Description
gh auth logout help says thus:
➜ ~ gh auth logout --help
Remove authentication for a GitHub account.
This command removes the stored authentication configuration
for an account. The authentication configuration is only
removed locally.
This command does not invalidate authentication tokens.
It's a somewhat common question that people ask about revocation in some form or another:
We should update the help text on gh auth logout to indicate that to revoke CLI generated OAuth tokens they should navigate to https://github.com/settings/applications (or equivalent on their targeted host) and click the Revoke button.
Acceptance Criteria
When I run gh auth logout --help
Then I see directions on how to revoke CLI OAuth tokens, and a warning that it will revoke all the OAuth tokens.
Notes
Should we also consider adding another issue for gh auth revoke-all --really-really-I-mean-it which does this programmatically? I think it's available via an API?
Description
gh auth logouthelp says thus:It's a somewhat common question that people ask about revocation in some form or another:
gh auth#9233We should update the help text on
gh auth logoutto indicate that to revoke CLI generated OAuth tokens they should navigate to https://github.com/settings/applications (or equivalent on their targeted host) and click the Revoke button.Acceptance Criteria
When I run
gh auth logout --helpThen I see directions on how to revoke CLI OAuth tokens, and a warning that it will revoke all the OAuth tokens.
Notes
Should we also consider adding another issue for
gh auth revoke-all --really-really-I-mean-itwhich does this programmatically? I think it's available via an API?