|
1
|
# Generic OAuth connection settings. |
|
2
|
codex: |
|
3
|
enabled: true |
|
4
|
|
|
5
|
# Empty stores credentials in Agent Zero's private OAuth directory. |
|
6
|
# Never share a rotating refresh-token file with Codex CLI or another client. |
|
7
|
auth_file_path: "" |
|
8
|
|
|
9
|
issuer: "https://auth.openai.com" |
|
10
|
token_url: "https://auth.openai.com/oauth/token" |
|
11
|
client_id: "app_EMoamEEZ73f0CkXaXp7hrann" |
|
12
|
scopes: |
|
13
|
- openid |
|
14
|
- profile |
|
15
|
- email |
|
16
|
- offline_access |
|
17
|
- api.connectors.read |
|
18
|
- api.connectors.invoke |
|
19
|
|
|
20
|
open_browser_from_server: false |
|
21
|
forced_workspace_id: "" |
|
22
|
|
|
23
|
upstream_base_url: "https://chatgpt.com/backend-api/codex" |
|
24
|
codex_version: "" |
|
25
|
models: [] |
|
26
|
request_timeout_seconds: 120 |
|
27
|
|
|
28
|
# Defaults for Codex Responses requests. Explicit model/request values win. |
|
29
|
reasoning_effort: "high" |
|
30
|
reasoning_summary: "auto" |
|
31
|
text_verbosity: "medium" |
|
32
|
|
|
33
|
# The OpenAI-compatible wrapper is mounted at /oauth/codex/v1. |
|
34
|
# It is loopback-only by default and does not emit CORS headers. |
|
35
|
proxy_base_path: "/oauth/codex" |
|
36
|
callback_path: "/auth/callback" |
|
37
|
require_proxy_token: false |
|
38
|
proxy_token: "" |
|
39
|
|
|
40
|
github_copilot: |
|
41
|
enabled: true |
|
42
|
enterprise_domain: "" |
|
43
|
|
|
44
|
gemini_api: |
|
45
|
enabled: true |
|
46
|
client_id: "" |
|
47
|
client_secret: "" |
|
48
|
quota_project_id: "" |
|
49
|
scopes: |
|
50
|
- openid |
|
51
|
- email |
|
52
|
- profile |
|
53
|
- https://www.googleapis.com/auth/cloud-platform |
|
54
|
- https://www.googleapis.com/auth/generative-language.retriever |
|
55
|
api_base_url: "https://generativelanguage.googleapis.com/v1beta/openai" |
|
56
|
proxy_base_path: "/oauth/gemini-api" |
|
57
|
callback_path: "/oauth/gemini-api/callback" |
|
58
|
|
|
59
|
xai_grok: |
|
60
|
enabled: true |