# pal cli auth

Source: https://pal.konvert7.com/docs/cli/auth

When the active agent's login expires

```bash title="Usage"
pal cli auth [options]
```

| Option | What it does |
| --- | --- |
| `--refresh` | Ask the agent again and rewrite the cached answer |
| `--json` | Print the cached answer as JSON |

Only Claude Code reports when its login expires; other agents do not. The answer is cached at session start, and --refresh asks the agent again.