You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+1Lines changed: 1 addition & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -14,6 +14,7 @@
14
14
15
15
### Fixed
16
16
17
+
- Auth: keep fresh OAuth saves working even when old file-keyring token entries are unreadable, and clarify that `--services all` means all user OAuth services while Workspace-only services use service accounts.
17
18
- Gmail: reject off-palette `gmail labels style` colors locally instead of forwarding an opaque Gmail API error.
18
19
- Drive: make `drive share --dry-run` stop before permission creation for user and domain shares, including `--notify`.
19
20
- Forms: make `forms create --description` apply the description with a follow-up batch update, and preserve zero-valued indexes in `forms move-question`.
Copy file name to clipboardExpand all lines: docs/commands/gog-auth-add.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ gog auth add <email> [flags]
44
44
|`--remote`|`bool`|| Remote/server-friendly manual flow (print URL, then exchange code) |
45
45
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
46
46
|`--select`<br>`--pick`<br>`--project`|`string`|| In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. |
47
-
|`--services`|`string`| user | Services to authorize: user\|all or comma-separated gmail,calendar,chat,classroom,drive,driveactivity,drivelabels,docs,slides,contacts,tasks,sheets,people,forms,sites,meet,appscript,analytics,searchconsole,ads,youtube,photos (Keep uses service account: gog auth service-account set)|
47
+
|`--services`|`string`| user | Services to authorize: user\|all-user or comma-separated gmail,calendar,chat,classroom,drive,driveactivity,drivelabels,docs,slides,contacts,tasks,sheets,people,forms,sites,meet,appscript,analytics,searchconsole,ads,youtube,photos; all means all user OAuth services. Workspace service-account-only services: admin, groups, keep|
Copy file name to clipboardExpand all lines: docs/commands/gog-auth-manage.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -36,7 +36,7 @@ gog auth manage (login) [flags]
36
36
|`--redirect-host`|`string`|| Hostname for OAuth callback; builds https://{host}/oauth2/callback |
37
37
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
38
38
|`--select`<br>`--pick`<br>`--project`|`string`|| In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. |
39
-
|`--services`|`string`| user | Services to authorize: user\|all or comma-separated gmail,calendar,chat,classroom,drive,driveactivity,drivelabels,docs,slides,contacts,tasks,sheets,people,forms,sites,meet,appscript,analytics,searchconsole,ads,youtube,photos (Keep uses service account: gog auth service-account set)|
39
+
|`--services`|`string`| user | Services to authorize: user\|all-user or comma-separated gmail,calendar,chat,classroom,drive,driveactivity,drivelabels,docs,slides,contacts,tasks,sheets,people,forms,sites,meet,appscript,analytics,searchconsole,ads,youtube,photos; all means all user OAuth services. Workspace service-account-only services: admin, groups, keep|
40
40
|`--timeout`|`time.Duration`| 10m | Server timeout duration |
Copy file name to clipboardExpand all lines: docs/commands/gog-login.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -44,7 +44,7 @@ gog login <email> [flags]
44
44
|`--remote`|`bool`|| Remote/server-friendly manual flow (print URL, then exchange code) |
45
45
|`--results-only`|`bool`|| In JSON mode, emit only the primary result (drops envelope fields like nextPageToken) |
46
46
|`--select`<br>`--pick`<br>`--project`|`string`|| In JSON mode, select comma-separated fields (best-effort; supports dot paths). Desire path: use --fields for most commands. |
47
-
|`--services`|`string`| user | Services to authorize: user\|all or comma-separated gmail,calendar,chat,classroom,drive,driveactivity,drivelabels,docs,slides,contacts,tasks,sheets,people,forms,sites,meet,appscript,analytics,searchconsole,ads,youtube,photos (Keep uses service account: gog auth service-account set)|
47
+
|`--services`|`string`| user | Services to authorize: user\|all-user or comma-separated gmail,calendar,chat,classroom,drive,driveactivity,drivelabels,docs,slides,contacts,tasks,sheets,people,forms,sites,meet,appscript,analytics,searchconsole,ads,youtube,photos; all means all user OAuth services. Workspace service-account-only services: admin, groups, keep|
ForceConsentbool`name:"force-consent" help:"Force consent screen when adding accounts"`
257
-
ServicesCSVstring`name:"services" help:"Services to authorize: user|all or comma-separated ${auth_services} (Keep uses service account: gog auth service-account set)" default:"user"`
257
+
ServicesCSVstring`name:"services" help:"Services to authorize: user|all-user or comma-separated ${auth_services}; all means all user OAuth services. Workspace service-account-only services: admin, groups, keep" default:"user"`
Copy file name to clipboardExpand all lines: internal/cmd/auth_add.go
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -28,7 +28,7 @@ type AuthAddCmd struct {
28
28
AuthCodestring`name:"auth-code" hidden:"" help:"UNSAFE: Authorization code from browser (manual flow; skips state check; not valid with --remote)"`
29
29
Timeout time.Duration`name:"timeout" help:"Authorization timeout (manual flows default to 5m)"`
30
30
ForceConsentbool`name:"force-consent" help:"Force consent screen to obtain a refresh token"`
31
-
ServicesCSVstring`name:"services" help:"Services to authorize: user|all or comma-separated ${auth_services} (Keep uses service account: gog auth service-account set)" default:"user"`
31
+
ServicesCSVstring`name:"services" help:"Services to authorize: user|all-user or comma-separated ${auth_services}; all means all user OAuth services. Workspace service-account-only services: admin, groups, keep" default:"user"`
32
32
Readonlybool`name:"readonly" help:"Use read-only scopes where available (still includes OIDC identity scopes)"`
0 commit comments