fix: load gog refresh tokens from config keyring

This commit is contained in:
iHildy committed 2026-01-26 19:11:28 -06:00
1 parent 3c1114d0e8
commit 3a41e2e8bd
2 files changed
+191 -32

No files matched your search

+3 -1
View File
@@ -74,7 +74,9 @@ If you already use `gog` for Google Workspace, you can reuse its OAuth client +
```
3) Ensure `gog` can access its keyring on the gateway host.
- `gog` stores refresh tokens in the system keychain by default. citeturn6view0
- For headless systems, switch to file keyring + password (see `gog` docs). citeturn6view0
- For headless systems (systemd, SSH-only), switch to file keyring + password (see `gog` docs). citeturn6view0
- Set `GOG_KEYRING_BACKEND=file` and `GOG_KEYRING_PASSWORD=...` for the gateway service.
- The file keyring lives under your gog config directory (for example `~/.config/gogcli/keyring/`).
4) Verify `gog` is visible to the gateway user:
```bash
gog auth tokens list --json