Skip to content

Mobile remote setup fails with “Secure setup failed” when connecting to computer #22802

Open

Description

@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?

  1. Open the ChatGPT App on my iPad.
  2. Open the "Codex"
  3. Try to log in / authorize the connection from the mobile app.
  4. Observe that the setup fails.

What is the expected behavior?

No response

Additional information

Image

Activity

  1. added
    app
    on May 15, 2026
  2. camwest commented on May 15, 2026

    @camwest

    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.

  3. added
    bug
    on May 15, 2026
  4. adamstirtan commented on May 15, 2026

    @adamstirtan

    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.

  5. bsamek commented on May 16, 2026

    @bsamek

    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.

  6. NeverMind779 commented on May 17, 2026

    @NeverMind779

    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

  7. changeyoucant commented on May 18, 2026

    @changeyoucant

    im having the same issue If anyone knows how to solve it, please let me know. thanks

  8. ryh842487118-bot commented on May 18, 2026

    @ryh842487118-bot

    Me too😭

  9. Henry839 commented on May 18, 2026

    @Henry839

    +1 me toooo

  10. aihaogu commented on May 18, 2026

    @aihaogu

    me too

  11. ginalig commented on May 18, 2026

    @ginalig

    Hi everyone,
    I enabled multi-factor authentication (in my case with google authenticator) and it solved the issue for me,
    hope this helps

  12. myang commented on May 19, 2026

    @myang

    me too

  13. SouthNotDev commented on May 20, 2026

    @SouthNotDev

    Hi everyone, I enabled multi-factor authentication (in my case with google authenticator) and it solved the issue for me, hope this helps

    That worked, thanks

  14. Henry839 commented on May 21, 2026

    @Henry839

    Hi everyone, I enabled multi-factor authentication (in my case with google authenticator) and it solved the issue for me, hope this helps

    That worked, thanks

    Sadly, it doesn't work for me.

  15. changed the title [-]Title Mobile remote setup fails with “Secure setup failed” when connecting to computer[/-] [+]Mobile remote setup fails with “Secure setup failed” when connecting to computer[/+] on May 22, 2026
  16. rss-holmes commented on May 24, 2026

    @rss-holmes

    Hi everyone, I enabled multi-factor authentication (in my case with google authenticator) and it solved the issue for me, hope this helps

    This worked for me too. Thanks !

  17. brentthomas-glitch commented on May 26, 2026

    @brentthomas-glitch

    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...".

  18. ZhL1ii commented on May 31, 2026

    @ZhL1ii

    Hi everyone, I enabled multi-factor authentication (in my case with google authenticator) and it solved the issue for me, hope this helps

    Thanks! This also worked for me. I enabled the Authenticator app option and used iOS Passwords as the authenticator.

  19. 2BAB commented on Jun 1, 2026

    @2BAB

    same, 2fa enabling does not work for me

  20. kev9ine commented on Jun 3, 2026

    @kev9ine

    Update: #24328 fixed me

    I have the exact same issue; MFA doesn't work for me either.

  21. Jarvis-Baba commented on Jun 5, 2026

    @Jarvis-Baba

    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:

    • Codex Desktop on Windows
    • ChatGPT / Codex on iOS
    • Same account on desktop and mobile
    • The phone had successfully paired with this desktop before

    What happened:

    1. The phone/device entry was accidentally removed from Codex Desktop's Connections page.
    2. The iOS app still kept the old Codex Desktop host record and shows it as disconnected/offline.
    3. Codex Desktop now shows no devices under "Devices that can control this computer".
    4. Generating a fresh QR code and scanning it from iOS does not create a clean new pairing.
    5. The iOS flow lands on / reuses the old host record, then fails with: 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.

  22. Jarvis-Baba commented on Jun 5, 2026

    @Jarvis-Baba

    I opened a focused report for a Windows + iOS case that lands on this same Setup failed / Couldn't finish secure setup error after stale pairing state: #26535

    In 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.

  23. meizy commented on Jun 7, 2026

    @meizy

    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!

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

    appbugremote

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions