cli/pkg/cmd/auth
Fredric Silberberg a656271f26 Print gh auth refresh for 401 returns
`gh auth refresh` exists to make it simpler for users to refresh their tokens on expiration/scope mismatch, but help messages only suggest using it in limited scenarios, and not in a common case of a token expiring and the user receiving a 401 error. Now, the auth flow will detect this case, and for refreshable tokens (namely, tokens created by logging in with `gh auth login` in the first place), it will suggest using `gh auth refresh` for these cases.
2026-04-20 12:07:14 -06:00
..
gitcredential Add error to auth refresh when active user does not match newly authenticated token user 2023-12-06 16:51:48 -04:00
login Disable telemetry for GHES 2026-04-17 11:50:24 +02:00
logout docs: OAuth doc link moves to newline 2025-02-24 14:12:19 -07:00
refresh Disable telemetry for GHES 2026-04-17 11:50:24 +02:00
setupgit Disable telemetry for GHES 2026-04-17 11:50:24 +02:00
shared Print gh auth refresh for 401 returns 2026-04-20 12:07:14 -06:00
status Print gh auth refresh for 401 returns 2026-04-20 12:07:14 -06:00
switch Move config interfaces into gh package (#9060) 2024-05-10 10:39:36 +02:00
token Remove unncessary printf usage 2025-01-21 18:04:47 +01:00
auth.go Add sampled command telemetry 2026-04-16 21:42:46 +02:00