Files
imeai-aKode/docs/authentication.md
andrea.difonzo 6089fbde91 aKode fase 2b-2: rimosso login ChatGPT e tutti i sottosistemi solo-ChatGPT
- Login: resta solo chiave API (+ header, Bedrock). Rimossi OAuth/browser,
  device code, refresh/revoke su auth.openai.com, PAT, agent/workload identity,
  runtime agent instance, backend-client e openapi-models, workspace routing.
- Rimossi: generazione immagini (ext + skill imagegen), history notes, plugin
  remoti (catalogo, sync, share), cyber access program, daybreak, cloud config
  e requirements (config_server ora fail-closed), attestation, frozen cloud
  skills, EMA MCP auth, Codex Apps/connettori, ricerca ospitata, header/zstd/
  routing/cookie del backend Codex, fallback OPENAI_API_KEY del realtime.
- Messaggi d'errore senza link a chatgpt.com.
- Chiavi di config legacy accettate e ignorate; feature rimosse = Stage::Removed.
- Test: cancellati solo quelli del codice rimosso; test di sicurezza
  (sandbox estensioni, permessi, redazione, auth storage, requirements)
  adattati. Restano solo fallimenti d'ambiente (code-mode-host/V8, ~/.agents).
- Istruzioni di sistema invariate.

Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
2026-11-10 16:20:15 +01:00

18 lines
806 B
Markdown

# Authentication
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.