[Windows]Codex IDE full access still requests approval

Resolved 💬 44 comments Opened Aug 28, 2025 by pablovela5620 Closed Sep 3, 2025
💡 Likely answer: A maintainer (Sing303, contributor) responded on this thread — see the highlighted reply below.

What version of Codex is running?

codex-cli 0.25.0

Which model were you using?

gpt-5 high reasoning

What platform is your computer?

Microsoft Windows NT 10.0.19045.0 x64

What steps can reproduce the bug?

<img width="408" height="567" alt="Image" src="https://github.com/user-attachments/assets/a4ccff76-9b3f-4f2f-924e-cfa85fab935c" />

Even with agent (full access) granted, the codex extension on vscode for windows still requires approvals. This is probably related to issue #2350 #2710 #2179

What is the expected behavior?

Approvals should never be asked for when full access is requested.

What do you see instead?

Constantly getting asked for approvals

Additional information

This is a pretty blocking issue for Windows that hasn't been addressed. Any workaround would be super helpful that doesn't involve directly patching the rust source code

View original on GitHub ↗

44 Comments

himomohi · 10 months ago

same here

mgreshis · 10 months ago

I can confirm this issue exists. I tried overwriting both sandbox modes and approval modes via .vscode/settings.json and ~/.codex/config.toml, but the Visual Studio Code plugin continues to prompt for approval. Codex CLI respects the settings, but the Visual Studo Code plugin does not.

jamneutrino · 10 months ago

Yes makes it basically unusable which is a shame cause the rest of it seems so nice

pinkyttk · 10 months ago

same issue, just got on codex and experienced this. though i was missing a setting.

14790897 · 10 months ago

same here

simonhx · 10 months ago

I have the same issue, also tried setting the global

{
"chat.tools.autoApprove": true
}

in settings.json, and it didn't change a thing

Adham-A · 10 months ago

Same

uzuenee · 10 months ago

same here

ershiyidian · 10 months ago

Same

CapyDojo · 10 months ago

Same here, this is frustrating in otherwise quite excellent Codex IDE. I'm using it in Windsurf.

maurizioceravolo · 10 months ago

same for me

gpeal contributor · 10 months ago

Duplicate of #2860

alexx-ftw · 10 months ago
Made a PR to fix #2988 Related topics #2860 and #2969

Not working in 0.29.0 even after the Merge

Sing303 contributor · 10 months ago
> Made a PR to fix #2988 Related topics #2860 and #2969 Not working in 0.29.0 even after the Merge

PR #2988 did not make it into release 0.29.0. It will be included in the next release
<img width="1398" height="1580" alt="Image" src="https://github.com/user-attachments/assets/c5bfce3f-3ba4-410f-a303-4c03dbef81a4" />

alexx-ftw · 10 months ago

@Sing303 I am unsure if your reply is well-meaning or not, but anyway thanks for the info

bolinfest collaborator · 10 months ago

Fix now available in 0.30.0! https://github.com/openai/codex/releases

jamneutrino · 10 months ago
Fix now available in 0.30.0! https://github.com/openai/codex/releases

This doesn't seem to work in the IDE extension - does that use its own model or something?

bolinfest collaborator · 10 months ago

@jamneutrino admittedly, the two are on separate release cadences right now...

bolinfest collaborator · 10 months ago

@jamneutrino I just published version 0.5.4 of the extension as a pre-release (may take some time to propagate through the Marketplace servers). If you're willing to try that, I think it should work?

jamneutrino · 10 months ago
@jamneutrino I just published version 0.5.4 of the extension as a pre-release (may take some time to propagate through the Marketplace servers). If you're willing to try that, I think it should work?

That would be great! Where can I access it? Im really excited to start using the IDE extension 😊

bolinfest collaborator · 10 months ago

@jamneutrino in the extensions tab in vs code, find Codex in the list, click it, and in the fullscreen page that opens, there should be a "switch to pre release" button?

bolinfest collaborator · 10 months ago

@jamneutrino

<img width="1312" height="912" alt="Image" src="https://github.com/user-attachments/assets/0cd50757-c2ab-4454-bdec-121fdf62c8d7" />

mgreshis · 10 months ago

I can confirm the fix works in 0.5.4

jamneutrino · 10 months ago
@jamneutrino in the extensions tab in vs code, find Codex in the list, click it, and in the fullscreen page that opens, there should be a "switch to pre release" button?

Awesome it seems to be working! Great job from you and the team!!

Mac-V-Sog · 10 months ago

This is a total failure from OpenAI. Will consider going back to Anthropic now

alopezal97 · 10 months ago

Not working for me. CODEX worked marevouslly, it helped me A LOT but this bug makes it literally unusable and make you feel like an stupid monkey pushing a button.

<img width="1947" height="1350" alt="Image" src="https://github.com/user-attachments/assets/53186a40-faa0-41d8-9b8e-f6787b9fb33d" />

tophat1986 · 10 months ago

This still exists. I was hoping to use the new gpt-5-codex but can't properly.

KatyPurry · 10 months ago

I’m using 0.5.11 version and still need to clic “approve this session” for all requests.

LeviMelo · 10 months ago

Can confirm. This is absolutely infuriating.

LeviMelo · 10 months ago

Odd thing is, i downgraded to version 0.5.4 and it still doesnt work. I have to push "aprove this session" all the time. I'm on windows 11.

chrisbint · 10 months ago

Same issue here using 0.5.12

tophat1986 · 10 months ago

I've reverted to using Codex Web for now. It's working in a similar way,
so is the easiest solution for now.

On Fri, 19 Sept 2025 at 12:47, chrisbint @.***> wrote:

chrisbint left a comment (openai/codex#2828) <https://github.com/openai/codex/issues/2828#issuecomment-3311888208> Same issue here using 0.5.12 — Reply to this email directly, view it on GitHub <https://github.com/openai/codex/issues/2828#issuecomment-3311888208>, or unsubscribe <https://github.com/notifications/unsubscribe-auth/AHBDIXCX7ETLMXCHZX6RWPT3TPULRAVCNFSM6AAAAACFBQ3K2GVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZTGMJRHA4DQMRQHA> . You are receiving this because you commented.Message ID: @.***>
pohlipit23 · 10 months ago

I can confirm this is still not fixed in 0.5.12. Makes Codex inside VScode unusuable.

cconw · 10 months ago

just spent hours with this bug. confirm that it still exists. pretty shocking that it's still ongoing for such a fundamental, extension breaking issue. needs to be re-opened.

vega-holdings · 10 months ago

same, still with latest version in cursor

KatyPurry · 10 months ago

Bug persists on 0.5.12

arminima · 10 months ago

same issue

bmartin13 · 10 months ago

SAME

Kinetae · 10 months ago

same

arminima · 10 months ago

Run this in CLI instead of the extension: codex --sandbox workspace-write --ask-for-approval never

alopezal97 · 10 months ago
Run this in CLI instead of the extension: codex --sandbox workspace-write --ask-for-approval never

Doesnt work for me. CLI can't read any file from my project

I tried to list the contents of app/, but the environment blocks read commands. To integrate it properly, I need to see

where your sidebar and menu are.

Please share:

  • app/src/main/AndroidManifest.xml
  • app/src/main/res/menu/ (sidebar menu file, if it exists)
  • app/src/main/res/menu/ (sidebar menu file, if it exists)
  • app/src/main/res/layout/ (layout where that sidebar or its container is defined)
  • Indicate whether you use Navigation Component (nav_graph) or handle clicks manually.

My mind now thinks that this is an strategy from OpenAI keeping us from burning tokens, but hey, don't offer the possibility then

adelsonrms · 9 months ago

I got resolve downloading and install last Codex cli using

npm install -g @openai/codex

after restart vs code, next commands no more ask me to approval.

Alternatively, the Codex CLI itself instructed me to set this option in the settings.json

"openAI.approvalPolicy": "never"

orbz22 · 9 months ago

its work, change mode to agent (full access), and this is my setting.json

"chatgpt.cliExecutable": "",
"openAI.approvalPolicy": "auto",
"chat.tools.autoApprove": "true",
"files.autoSave": "afterDelay"