Codex auth failure fixed; API key now uses standard Bearer header
ctx7@0.5.7
1 fixThis release1 fixBug fixesAI-tallied from the release notes
From the original release noteView original ↗
Patch Changes
- b89a04e:
ctx7 setupnow writes the API key as a standardAuthorization: Bearer <key>header instead of a customCONTEXT7_API_KEYheader. Codex resolves a server's auth mode frombearer_token_env_varor a header literally namedAuthorization, so a custom name read as "no credential configured": Codex fell through to an OAuth credential stored against the same server name and URL, refreshed it during startup, and when that refresh token was dead the server failed withinvalid_grantbefore the API key was ever sent. The hosted endpoint accepts both header forms, so existing configs keep working.
Fetched July 30, 2026


