Bao requests AnyAI key despite Codex login
What went wrong?
I cannot use Codex through Bao on my original AnyTwo account. Codex is detected as Ready, but every new Bao message triggers a request for llm.key.anyai.
A second AnyTwo account works on the same laptop, under the same Windows login, with the same Codex installation and ChatGPT authentication. The failure therefore appears specific to the original AnyTwo account or its configuration.
What should happen?
Bao should use the local Codex integration with the existing ChatGPT authentication and respond without requiring a manually supplied API key.
Control test: another AnyTwo account works
I logged out of the affected account and logged into another AnyTwo account, without changing the Windows user, application installation or Codex installation.
Codex works through Bao on that second account.
Codex CLI independently works
Authentication check:
codex login status
Result:
Logged in using ChatGPT
A non-interactive test using gpt-6.1-sol returned OK. Codex also successfully executed Get-Location and read the requested application log through PowerShell.
Environment
- OS: Windows
- Application: Any / AnyTwo desktop 0.1.13
- Codex CLI: 0.165.0
- Codex authentication: ChatGPT login, without an API key
- Working Codex model:
gpt-6.1-sol - Local Any server:
http://127.0.0.1:31310 - Local model bridge:
http://127.0.0.1:31399/v1
Setup history
Before configuring Codex, I attempted to connect Claude Code through AnyTwo, but never completed authentication because I did not have the required paid Claude subscription.
I never successfully used another model in Bao and did not manually enter any AnyAI API key. I subsequently installed/authenticated Codex and selected it under On this computer → Codex.
Claude, Gemini, Ollama and OpenRouter-related tools are also installed on this laptop, but were not previously configured as working Bao providers.
Steps that reproduce the issue on the affected account
- Sign into the original AnyTwo account.
- Open the model/provider settings.
- Select On this computer → Codex.
- Refresh and confirm that Codex shows Ready with ChatGPT sign-in.
- Select
GPT-6.1-Soland save. - Send a simple message, such as: “Respond only OK. Do not use tools.”
1 Comment
Sign in to comment

Update: resolved on my original account
Bao is now working with Codex through my ChatGPT login, without an API key.
Here is the sequence that resolved it:
SEC_E_INVALID_TOKEN (0x80090308).We found these signature algorithms missing from Windows’ TLS configuration:
RSAE-PSS/SHA256RSAE-PSS/SHA384RSAE-PSS/SHA512Functionslist under:HKLM\SYSTEM\CurrentControlSet\Control\Cryptography\Configuration\Local\SSL\00010003Previously, deleting credentials, re-authenticating Codex and updating AnyTwo had not resolved the issue. Another AnyTwo account had worked under the same Windows login.
The exact relationship is still unclear: the TLS repair may have affected provisioning, or removing/re-adding the account may have refreshed inconsistent local state. We did not manually modify or delete the duplicate
agent_secretstypes.Thank you for helping investigate. Sharing these findings in case they help identify the underlying cause—this registry change should not be treated as a general fix without checking the affected system first.