WIP fase 2b-2: rimosso login ChatGPT/OAuth/device code, agent/workload identity, backend-client; resta solo chiave API (test non tutti verdi)

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This commit is contained in:
andrea.difonzo
2026-11-10 06:00:44 +01:00
parent 82347a58ed
commit 231e8cd136
661 changed files with 4924 additions and 64817 deletions

View File

@@ -1,3 +1,17 @@
# Authentication
For information about Codex CLI authentication, see [this documentation](https://developers.openai.com/codex/auth).
aKode authenticates only with API keys or provider-owned credentials. Signing
in with a ChatGPT account (browser, device code, or access tokens) is not
supported.
- `printenv OPENAI_API_KEY | codex login --with-api-key` stores an API key
(keyring or `auth.json`, depending on `cli_auth_credentials_store`).
- `codex login status` shows whether a key is stored.
- `codex logout` deletes the stored credentials locally; nothing is sent to a
remote service.
- `CODEX_API_KEY` supplies a key for a single run without storing it.
- Custom model providers authenticate with their own `env_key`,
`experimental_bearer_token`, `auth` command, or HTTP headers.
Credentials stored by older releases that used ChatGPT sign-in are ignored;
run `codex logout` and log in again with an API key.