Skip to content

Not Asked for Login but goes straight to OPENAI_API_KEY missing #5282

Closed

Description

@NiclasEich

What version of Codex is running?

0.1.2504301751

What subscription do you have?

Pro

Which model were you using?

None

What platform is your computer?

Darwin 24.6.0 arm64 arm

What issue are you seeing?

When I start Codex, I do not get prompted to chose an authentication method but it goes straight to:

Missing openai API key.

Set the environment variable OPENAI_API_KEY and re-run this command.
You can create a key here: https://platform.openai.com/account/api-keys

Have tried some of the other commands like resume, config, etc. but no changes

What steps can reproduce the bug?

Install it (home-manager, brew), run codex

What is the expected behavior?

No response

Additional information

No response

Activity

  1. NiclasEich commented on Oct 17, 2025

    @NiclasEich
    Author

    The issue was that when installing via nix home-manager, a very old version was installed.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions