docs(xai-oauth): correct logout command (was hermes auth remove)

The previous "Logging Out" section showed `hermes auth remove xai-oauth`
with no positional target — argparse rejects that and the command does
not clear the singleton OAuth state anyway. The correct command for the
"clear everything" intent is `hermes auth logout xai-oauth`. Also point
users at `hermes auth remove xai-oauth <target>` for single-pool-row
deletion.
This commit is contained in:
Jaaneek 2026-05-15 18:46:45 +01:00 committed by Teknium
parent 7fdc16dd4a
commit 1e4801b8d0

View file

@ -198,13 +198,13 @@ The auth store has no `xai-oauth` entry and no `XAI_API_KEY` is set. You haven't
## Logging Out
To remove stored xAI Grok OAuth credentials:
To remove all stored xAI Grok OAuth credentials:
```bash
hermes auth remove xai-oauth
hermes auth logout xai-oauth
```
This clears both the singleton `loopback_pkce` entry in `auth.json` and any matching credential-pool rows.
This clears both the singleton OAuth entry in `auth.json` and any credential-pool rows for `xai-oauth`. Use `hermes auth remove xai-oauth <index|id|label>` if you only want to drop a single pool entry (run `hermes auth list xai-oauth` to see them).
## See Also