mirror of
https://github.com/agent0ai/agent-zero.git
synced 2026-05-17 04:01:13 +00:00
Allow users to disconnect their OpenAI account by clearing stored ChatGPT OAuth tokens while preserving unrelated auth data. Fetch and normalize Codex usage windows, then show remaining percentage and reset timing in the OAuth settings UI. Add focused tests for usage parsing and disconnect cleanup. |
||
|---|---|---|
| .. | ||
| api | ||
| conf | ||
| extensions/python | ||
| helpers | ||
| webui | ||
| default_config.yaml | ||
| plugin.yaml | ||
| README.md | ||
OAuth Connections
Generic local OAuth bridge for Agent Zero.
The first provider is Codex/ChatGPT Account:
- signs in with OpenAI's Codex device-code flow
- writes Codex-compatible
auth.jsoncredentials - refreshes local tokens when needed
- exposes a loopback OpenAI-compatible wrapper at
/oauth/codex/v1
Tokens in auth.json are password-equivalent credentials. Keep this plugin on trusted local machines only.