You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug]: hermes auth add openai-codex does not go to Oauth #42712
Recently updated to latest versions with all commits and trying to use hermes auth add openai-codex
However instead of the usual next step of logging in with an account it just asks for an API key
Steps to Reproduce
Run hermes auth add openai-codex
Expected Behavior
After command this should appear:
To continue, follow these steps:
Thanks for the report. Current main already routes this command through the Codex OAuth device-code flow; this is an automated hermes-sweeper review.
hermes_cli/auth_commands.py:169-176 defaults an unspecified credential type to OAuth for openai-codex.
hermes_cli/auth_commands.py:310-345 calls _codex_device_code_login() for that provider; Paste your API key is only in the explicit API-key branch at :197-202.
This behavior is present in c78b3e1d3 (fix(auth): add Codex OAuth accounts as distinct pool entries), included in v2026.6.19.
Activity
teknium1 commentedon Jul 14, 2026
Thanks for the report. Current
mainalready routes this command through the Codex OAuth device-code flow; this is an automated hermes-sweeper review.hermes_cli/auth_commands.py:169-176defaults an unspecified credential type to OAuth foropenai-codex.hermes_cli/auth_commands.py:310-345calls_codex_device_code_login()for that provider;Paste your API keyis only in the explicit API-key branch at:197-202.c78b3e1d3(fix(auth): add Codex OAuth accounts as distinct pool entries), included inv2026.6.19.