feat(auth): wire prime to codex/claude oauth cli sessions
This commit is contained in:
@@ -0,0 +1,25 @@
|
||||
# Prime Auth with Existing Subscriptions (OAuth, no API keys)
|
||||
|
||||
Prime uses provider CLI OAuth sessions:
|
||||
- OpenAI planner via `codex`
|
||||
- Anthropic coder via `claude`
|
||||
|
||||
## Login on shard-host
|
||||
```bash
|
||||
source /srv/prime-core/scripts/prime-env.sh
|
||||
prime auth openai
|
||||
prime auth anthropic
|
||||
prime auth status
|
||||
```
|
||||
|
||||
### Notes
|
||||
- `prime auth openai` uses Codex device auth flow (good for SSH/headless).
|
||||
- `prime auth anthropic` opens Claude auth login flow.
|
||||
- You can sign in with Google where provider supports it in their auth UI.
|
||||
- No API keys are required for this path.
|
||||
|
||||
## Verify
|
||||
```bash
|
||||
prime status
|
||||
```
|
||||
Check `codex_login` and `claude_login` are healthy.
|
||||
Reference in New Issue
Block a user