auth: Ignore tokens.json so Login output is not git-added #21

Merged
eva merged 1 commits from blake/ignore-tokens-json into develop 2026-09-14 08:30:43 -05:00
2 changed files with 4 additions and 1 deletions
Showing only changes of commit 96bef3ddd5 - Show all commits
+3
View File
@@ -3,3 +3,6 @@
bin/
*.exe
coverage.out
# OAuth tokens from auth.Login / WriteTokens (mode 0600 on disk)
tokens.json
+1 -1
View File
@@ -24,7 +24,7 @@ cfg := rh.Config{
}
```
Daemon/headless callers must not call `Login` (no browser). They call `Connect` with an existing token file (mode `0600`).
Daemon/headless callers must not call `Login` (no browser). They call `Connect` with an existing token file (mode `0600`). Keep `tokens.json` out of git (listed in `.gitignore`).
## Example