You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Bug][Android Remote] Pairing succeeds in browser but returns to “Authorize this phone” #50248
Codex Remote pairing on Android does not complete. Authentication/authorization succeeds in the browser, the webview closes, but the ChatGPT Android app returns to the initial “Authorize this phone” pairing screen instead of registering the device.
The same Mac/account works with iOS Remote.
Environment
Host: macOS
Codex CLI: codex-cli 0.159.3
Remote Control: experimental codex remote-control
Client: ChatGPT Android app
iOS client with the same Mac/account: works
Reproduction
This reproduces with both QR pairing from Codex Desktop and manual pairing from Codex CLI.
CLI/manual-code reproduction
Log into Codex CLI successfully.
Start Remote Control using codex remote-control start.
Run codex remote-control pair.
Enter the generated short-lived pairing code on the Android device.
Complete authorization in the web browser/webview.
Authorization reports success.
The webview closes.
ChatGPT Android returns to “Authorize this phone” instead of completing pairing.
Expected
After successful authorization, the Android device should become paired and show/access the Remote sessions from the Mac.
Actual
The Android client loops back to the beginning of the pairing flow.
Additional signal
Because:
the same Mac/account works from iOS, and
Android fails identically with both QR pairing and the CLI-generated manual pairing code,
this does not appear specific to QR scanning or Codex Desktop. It appears to be in the Android post-authorization/pairing completion flow.
CLI capabilities confirmed
codex remote-control --help on 0.159.3 exposes start, stop, and pair.
A useful integrity distinction in this pairing flow is authorization success != device-binding completion.
The browser can prove that an account authorized a pairing transaction without proving that the Android client actually consumed that transaction and became bound to the intended host/device relationship.
I would represent the flow with a single immutable pairing transaction identity:
Each step should be independently observable. The UI should only leave “Authorize this phone” after the binding commit/acknowledgement, not merely because browser authorization returned success.
A good negative test is to authorize successfully, then drop/delay the redemption or final acknowledgement. The system should preserve a typed intermediate state and allow safe retry of the same transaction; it must not create a second binding, silently consume the code, or report the phone as paired without a committed binding record.
Activity
github-actions commentedon Oct 2, 2026
Potential duplicates detected. Please review them and close your issue if it is a duplicate.
Powered by Codex Action
aetherxeg-source commentedon Oct 2, 2026
A useful integrity distinction in this pairing flow is authorization success != device-binding completion.
The browser can prove that an account authorized a pairing transaction without proving that the Android client actually consumed that transaction and became bound to the intended host/device relationship.
I would represent the flow with a single immutable pairing transaction identity:
pairing request -> user authorization -> client redemption -> device/host binding committed -> client acknowledgementEach step should be independently observable. The UI should only leave “Authorize this phone” after the binding commit/acknowledgement, not merely because browser authorization returned success.
A good negative test is to authorize successfully, then drop/delay the redemption or final acknowledgement. The system should preserve a typed intermediate state and allow safe retry of the same transaction; it must not create a second binding, silently consume the code, or report the phone as paired without a committed binding record.