Skip to content

Remote authorization loop on macOS + Android 17 persists in Chrome and Brave; callbacks reach ChatGPT #49271

Open

Description

@torisKR

What version of the Codex App are you using (From “About Codex” dialog)?

Desktop app displayed as ChatGPT: 26.924.51851, build 12111, read from the installed app's Info.plist during diagnostics on September 29, 2026.

What subscription do you have?

Not captured in the diagnostic report. I have submitted in-app feedback; the feedback ID is included below for account correlation through the appropriate support channel.

What platform is your computer?

  • Mac with M5 Pro (hardware description provided by me).
  • macOS 27.0.1, verified with sw_vers -productVersion.
  • uname -mprs: Darwin 27.0.0 arm64 arm.
  • Phone: Samsung Galaxy Fold8 Ultra, ADB model SM-F976N, Android 17. Model code and Android version were read from the actual phone used for the captured reproductions.
  • ChatGPT Android: 1.2026.265, versionCode=2626526.
  • Chrome: 154.0.8037.57, active-package versionCode=803705704.
  • Android's default browser was verified as com.android.chrome for the latest reproduction. Earlier attempts used com.brave.browser.

What issue are you seeing?

Remote phone authorization/pairing never completes. After following the desktop-to-phone setup, the phone asks whether to allow this phone to access ChatGPT on the computer. I proceed through browser sign-in/authorization, return to ChatGPT, and see the authorization prompt again instead of a usable Remote connection.

The original Korean prompt is:

이 휴대폰이 컴퓨터의 ChatGPT에 액세스하도록 허용할까요?

English translation: “Allow this phone to access ChatGPT on your computer?”

Changing the phone's default browser from Brave to Chrome does not fix it. This is not just an unverified browser-setting change: Android activity logs show three Chrome-to-ChatGPT authentication callbacks during the latest attempts.

Related: #48774. I previously added my environment in this comment. This standalone report adds the verified macOS/Android 17 environment, Chrome comparison, and correlated local diagnostics. The symptoms may share a cause with that report; I have not established whether they are the same underlying bug.

What steps can reproduce the bug?

  1. On the Mac desktop app, open Settings → Connections → Control this Mac and start phone setup with a fresh QR code.
  2. On the phone, set Chrome as the default browser and use the ChatGPT app to continue the Remote setup.
  3. Proceed through the phone authorization prompt and the OpenAI browser sign-in/approval flow.
  4. The browser returns to ChatGPT, but Remote authorization is still required and the phone cannot use Remote.
  5. Retrying authorization repeats the visible failure. The same symptom previously occurred with Brave.

The latest Chrome attempts below were made after a desktop pairing-start response at 2026-09-29 14:11:59.195 UTC / 23:11:59.195 KST.

What is the expected behavior?

After valid sign-in and approval, the phone should complete Remote enrollment and connect to the Mac. If the authorization result, token exchange, security re-check, or enrollment is rejected, the app should display an actionable error rather than returning to the authorization prompt without an explanation.

Additional information

Verified Chrome reproduction timeline

All dates below are September 29, 2026. Android event timestamps were recorded in KST (UTC+9) and converted to UTC here. These are sanitized event summaries, not complete raw logs.

Attempt Chrome opens auth.openai.com (UTC) Callback reaches ChatGPT WebRedirectActivity (UTC) ChatGPT MainActivity resumes (UTC)
1 14:12:08.214 14:12:29.121 14:12:29.190
2 14:12:46.084 14:13:02.768 14:13:02.810
3 14:13:58.417 14:14:12.513 14:14:12.551

For the first Chrome attempt, the intermediate steps are also present:

14:12:07.174  ChatGPT opens WebAuthenticationActivity
14:12:08.214  ChatGPT opens auth.openai.com in com.android.chrome
14:12:29.121  Chrome launches ChatGPT WebRedirectActivity
14:12:29.153  Callback forwarded to WebAuthenticationActivity
14:12:29.167  WebAuthenticationActivity finishes (app-request)
14:12:29.190  MainActivity resumes
14:12:45.067  WebAuthenticationActivity opens again during the next retry

The relevant ChatGPT components are:

com.openai.feature.auth.impl.web.WebRedirectActivity
com.openai.feature.auth.impl.web.WebAuthenticationActivity
com.openai.chatgpt.MainActivity

This confirms that the browser-to-app handoff occurs. It does not prove that OAuth succeeded or that phone enrollment succeeded. The callback query parameters/results were not available in the inspected event records. The activity logs also do not distinguish an automatic retry from my tapping the authorization action again.

Correlated Mac evidence

2026-09-29T14:11:59.195Z
method=remoteControl/pairing/start
errorCode=null
durationMs=1523
requestId=f8571c69-a6e1-4d25-aa78-2a561f2c114c

In the inspected desktop window 14:07:00.266–14:13:09.733 UTC, all 76 logged remoteControl/client/list RPC responses had errorCode=null. The response bodies/client lists are not present in these records, so this does not establish that the phone was enrolled.

No new explicit Remote authorization/WebSocket failure was found by the targeted search of the latest desktop session from 14:07 UTC through the inspection. In particular, that search did not show a new expired enrollment challenge or Remote app server already online event for the Chrome reproduction.

The available ChatGPT-UID Android main-log records covered 23:11:20.465–23:14:18.003 KST (1,418 records). A targeted search did not expose an explicit OAuth/enrollment HTTP failure, invalid_grant, token_revoked, or enrollment-expiry reason. This is a limitation of the local diagnostic evidence, not proof that no such failure occurred.

OpenCodex and earlier troubleshooting — not claimed as the cause

I previously used the third-party OpenCodex proxy and initially suspected a conflict. I stopped it and reproduced the problem after native routing was restored. During the latest inspection:

  • No process was listening on OpenCodex's default TCP port 10100.
  • The selected-key check of the main Codex config found model, but not openai_base_url, model_provider, model_catalog_json, or requires_openai_auth.
  • The process inspection did not show a standalone app-server --remote-control process; desktop-bundled app-server processes and a daemon updater loop were present.

This does not prove every historical local/authentication state was reset. However, the current evidence does not establish a model mismatch or an actively running OpenCodex proxy as the reason for this authorization loop.

Earlier, separate diagnostics produced a CLI 409 Remote app server already online, duplicate agent-role warnings, and a Mac client-enrollment expired enrollment challenge after a delayed approval. They occurred at different times and are not established as the cause of the Chrome phone-reproduction sequence above. I do not want to conflate these different observations.

Investigation requested

Please investigate the authorization-result handling, token exchange/security re-check, and phone-enrollment transition around 14:12–14:14 UTC on September 29, 2026, using the feedback ID and desktop request ID where useful.

  • In-app feedback ID: no-active-thread-01a0eb92-0d48-7853-842e-d6ee94b1e0b9.
  • Desktop logged request ID: f8571c69-a6e1-4d25-aa78-2a561f2c114c. I do not know whether this local RPC ID maps directly to a backend trace.

Could you provide a supported diagnostic method or a private support route that reveals the actual rejection reason after the browser returns to the app? The evidence currently establishes callback delivery and repeated failure to complete Remote setup, but not the underlying cause.

I followed the recommended Chrome browser guidance; both Chrome and Brave reproduce the issue.

No tokens, OAuth codes/state values, pairing codes, account email addresses, device serial numbers, or raw private logs are included in this report.

Activity

  1. added
    bug
    app
    auth
    on Sep 29, 2026
  2. Zarakilian commented on Sep 30, 2026

    @Zarakilian

    I can reproduce the same Remote authorization loop on Android.

    Reproduction

    1. Start Remote / device pairing from the computer.
    2. Continue the authorization flow on the Android ChatGPT app.
    3. The flow opens in Chrome, I sign in and approve/authorize the device.
    4. Control returns to ChatGPT, but the app asks me to authorize/pair again instead of completing the Remote connection.
    5. Repeating the flow loops in the same way.

    I also tried switching ChatGPT accounts and then returning to the account that previously worked with Remote, but the behavior persisted.

    Additional observation

    I am seeing a very similar loop when trying to reconnect Gmail inside ChatGPT: I choose Reconnect, complete the Google browser flow / Continue step, return to ChatGPT, and am presented with Reconnect again.

    I cannot confirm that the Gmail reconnect issue has the same root cause as the Codex Remote bug, but the similarity suggests there may be a broader Android browser-to-app authorization/callback-state problem worth checking.

    Impact

    This currently blocks my normal Remote/Codex workflow, which I rely on for remote development work.

    I have also contacted OpenAI Support separately.

  3. AntonGulak commented on Sep 30, 2026

    @AntonGulak

    I have the same problem from 28 sep.

  4. Pontinnn commented on Sep 30, 2026

    @Pontinnn

    Same problem here, since 28 sep.

  5. arnaudlopez commented on Sep 30, 2026

    @arnaudlopez

    Same authorization/pairing loop here on September 30, 2026. I reproduced it with the same Android phone and ChatGPT account on two different Macs.

    Steps:

    1. Start phone pairing in the desktop app and scan the QR code.
    2. Tap “Authorize this phone” in ChatGPT on Android.
    3. Complete the browser sign-in and authorization flow.
    4. Return to ChatGPT: “Pairing…” appears briefly, then it returns to “Authorize this phone”. Retrying repeats the loop.

    The phone and both Macs use the same ChatGPT account and workspace. The Android app was just updated to the latest version offered to me; I have not captured its exact version number. Reinstalling the Android app and clearing its cache did not resolve the problem.

    On the Mac inspected: desktop version 26.928.21956 (build 12404), bundled Codex CLI 0.159.2. Desktop logs show remoteControl/pairing/start and repeated remoteControl/client/list responses with errorCode=null. Response bodies are absent, so these logs do not establish that phone enrollment succeeded.

    For transparency, this Mac uses a custom model-routing proxy; the other Mac's routing configuration was not checked. I cannot establish the underlying cause or whether a recent update triggered it.

    Is there a confirmed fixed Android build or a supported diagnostic procedure for this loop?

  6. arnaudlopez commented on Oct 1, 2026

    @arnaudlopez

    Update (October 1, 2026): after updating ChatGPT on my Android phone to the beta version, the authorization/pairing loop reported in my previous comment is resolved and pairing now works for me.

    I have not captured the exact beta version/build number, so I cannot identify which build introduced the fix. This confirms resolution in my setup; I cannot confirm whether the fix is available in the stable Android release or resolves all cases reported here.

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

    appauthbugremote

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions