Mobile remote setup fails with “Secure setup failed” when connecting to computer
Open 💬 20 comments Opened May 15, 2026 by ProtossDragoon
What version of the Codex App are you using (From “About Codex” dialog)?
chat gpt for ios 1.2026.125
What subscription do you have?
Pro
What platform is your computer?
iOS, MacOS
What issue are you seeing?
I am trying to set up remote access from the ChatGPT/Codex mobile app so I can connect to my computer.
During the login / authorization step, the setup fails and the mobile app shows the following error:
“Setup failed / Couldn't finish secure setup. Try again”
No additional error details are shown in the mobile app.
What steps can reproduce the bug?
- Open the ChatGPT App on my iPad.
- Open the "Codex"
- Try to log in / authorize the connection from the mobile app.
- Observe that the setup fails.
What is the expected behavior?
_No response_
Additional information
<img width="1480" height="1882" alt="Image" src="https://github.com/user-attachments/assets/26adda38-c84d-4d31-ad2d-b8d267074ce2" />
20 Comments
I have the same issue. Happy to work through debugging...
Might be worth mentioning I have an email auth code step. I get the email and type in the code prior to getting the above error.
Also notable: I have an OTP code set up in 1password but that doesn't get accepted. I MUST do email flow.
I'm also getting this error message when attempting to link the iOS app to the Codex desktop app. I also wanted to point out there doesn't seem to be any way to delete a Codex app connection from the iOS app. It can be edited and disabled, but there's no remove. I thought I'd try restarting the process by deleting it, but I'm just stuck in this auth loop now.
I'm hitting this as well. In my case, things were working, and then I turned on Advanced Account Security. I tried turning that off, and I'm still not able to log in. I had the same thought as @adamstirtan to remove the connection in the iOS app, but I don't see a way to do that. I revoked access on the Codex desktop side, but that didn't help.
Edit: This started working again as of 2026-06-04. I no longer have this issue.
Hi everyone, im having the same issue
If anyone knows how to solve it, please let me know
I have been letting Codex deep thinking few hours still not working
im having the same issue If anyone knows how to solve it, please let me know. thanks
Me too😭
+1 me toooo
me too
Hi everyone,
I enabled multi-factor authentication (in my case with google authenticator) and it solved the issue for me,
hope this helps
me too
That worked, thanks
Sadly, it doesn't work for me.
This worked for me too. Thanks !
This does not work for me either. When I try to enable multi-factor authentication in in the app, it says "Authentication Error. OpenAI's services are not available in your country...".
Thanks! This also worked for me. I enabled the Authenticator app option and used iOS Passwords as the authenticator.
same, 2fa enabling does not work for me
Update: https://github.com/openai/codex/issues/24328 fixed me
==================================
I have the exact same issue; MFA doesn't work for me either.
I am also hitting this Secure setup failed / Couldn't finish secure setup path, with one extra clue: the failure appears after a previously working mobile pairing became stale.
Setup:
What happened:
Setup failed / Couldn't finish secure setup. Try again.This makes it look related to stale account-side or mobile-side host/enrollment state, rather than only the initial security setup flow. A visible "forget/remove this computer" action on iOS, or automatic invalidation of stale hosts after the desktop-side pairing is deleted, would likely unblock this case.
I opened a focused report for a Windows + iOS case that lands on this same
Setup failed / Couldn't finish secure setuperror after stale pairing state: #26535In that case, the phone was deleted from the desktop-side paired-device list, but iOS retained the old offline host and fresh QR pairing could not recover.
using MFA, iPhone connected OK for some time now, iPad refuses to connect (setup failed),
please solve this, many people have this issue for weeks now!