device auth with business account, missing worspace admin option to enable
What version of Codex is running?
codex-cli 0.84.0
What subscription do you have?
Business
Which model were you using?
No response
What platform is your computer?
No response
What terminal emulator and version are you using (if applicable)?
No response
What issue are you seeing?
The workspace admin console in the web interface seems to be missing the option to allow device auth.
What steps can reproduce the bug?
Open https://chatgpt.com/admin/permissions
What is the expected behavior?
Find option to enable device auth
Additional information
Not sure if this is the right place to file this since it is related to the web app adminn console.
Related to
- #9253
The fallback techniques are tedious and much more convoluted than the link based auth in the 0.80.0 version.
Please put an option to use that login flow.
we've located the issue and will be rolling out a fix soon.
The fix has been rolled out. Please give it a try and let us know if you still encounter the problem.
This is still an issue. Fix hasn`t worked.
Yes, still the same
@rafaelreis-r this workaround from this comment works https://github.com/openai/codex/issues/9253#issuecomment-3760736551
$ unset CI SSH_CONNECTION SSH_CLIENT SSH_TTY $ export DISPLAY=:0 $ codex
Is there something we need to do to enable this? I'm still not seeing it and it's been 5 days
To be clear, the issue is that there is no way to enable "device code authentication" in the admin portal, yes?
Yes, admin portal. The search field says 13 options available, the number has not changed, none of these enable "device code authentication. Only 3 can be toggled in Business (vs. Enterprise).
I still have this issue cant find "device code authentication"
Still not working.
We believe this issue has been resolved. You can now enable headless environments in your workspace settings page.
Not fixed. It's still an issue, see https://github.com/openai/codex/issues/9253#issuecomment-3802274154 Potential root cause https://github.com/openai/codex/issues/9253#issuecomment-3802593168
Still an issue for me as well. I do not see "Codex Local", nor any of the two options below it. @etraut-openai
@etraut-openai it is not fixed. The whole Codex Local section is missing. Your test environment is not in Business mode as the other points visible in your screenshot are slightly greyed out in Business and labeled Enterprise. Please reopen.
Can confirm there is no Codex Local section on Business accounts.
@etraut-openai
Temporary workaround for this issue until it’s properly addressed. From a computer with a screen, log in using a browser, and then copy the ~/.codex/auth.json file to the target server. Once you’ve done that, you can run the codex on the target server.
Disclaimer: This information is not from OpenAI’s official source, and I hope it won’t result in an account ban. It doesn’t matter anyway because our team cannot use Codex in the development environment because of this bug, so we are at the brink of canceling the subscription and requesting a refund.
@Chapoly1305, thanks for posting the workaround. This is actually a documented fallback solution, so no worries about using that technique.
We are continuing to investigate the underlying issue for device code auth controls for Business plan subscribers. The issue involves multiple teams within OpenAI, and we're trying to get everyone aligned on the solution. I'm not trying to make excuses, but just explaining why it's taking a while for us to get a fix in place.
@etraut-openai
Business users get a 404 unauthorised here (https://chatgpt.com/backend-api/accounts/<account_id>/beta_features) Payload: {feature: "codex_device_code_auth", value: true} Response: {"detail":"Enterprise plan required."}
Looks like it just needs to be enabled for business users
@etraut-openai looks like you fixed it, sorted for me now.