-
Notifications
You must be signed in to change notification settings - Fork 891
Closed
Labels
Description
I've successfully authorized 2 accounts on my laptop:
$ gws auth list
{
"accounts": [
{
"added": "2026-03-05T16:02:46.903076+00:00",
"email": "<redacted>",
"is_default": false
},
{
"added": "2026-03-05T16:02:16.168759+00:00",
"email": "<redacted>",
"is_default": true
}
],
"count": 2,
"default": "<redacted>"
}I want to use gws on a server, so I followed instructions at https://github.com/googleworkspace/cli?tab=readme-ov-file#headless--ci-export-flow
I ran gws auth export --unmasked > credentials.json which seems to succeed -- no errors or logs. But credentials.json has:
{
"error": {
"code": 401,
"message": "No encrypted credentials found. Run 'gws auth login' first.",
"reason": "authError"
}
}Expected behavior
gws auth export should work as described.
Reactions are currently unavailable