gsxdsm
3d18872f98
FN-5917: fix Codex OAuth option selection
Prevent multi-option OAuth prompts from cancelling Codex browser login.
- add OAuth option selection logic that prefers the browser flow for openai-codex prompts
- fall back to default-labelled or first options for other multi-option OAuth prompts
- add API route coverage for Codex multi-option, single-option, and generic default-labelled prompt handling
Files changed:
.changeset/fn-5917-codex-oauth-login.md | 5 ++
packages/dashboard/src/__tests__/routes-auth.test.ts | 72 ++++++++++++++++++++++
packages/dashboard/src/routes/register-auth-routes.ts | 26 ++++++--
3 files changed, 97 insertions(+), 6 deletions(-)
Fusion-Task-Id: FN-5917
Fusion-Task-Lineage: 3b069280-9dbf-47ee-ae04-b7c54ff14d63
2026-06-02 18:56:36 -07:00
..
2026-06-02 18:56:36 -07:00
2026-06-02 18:56:36 -07:00
2026-06-01 22:50:41 -07:00
2026-05-12 19:38:39 -07:00
2026-05-16 22:26:42 -07:00
2026-05-26 21:38:25 -07:00
2026-05-30 10:21:49 -07:00
2026-05-19 17:19:02 -07:00
2026-05-14 04:42:32 -07:00
2026-05-11 16:33:16 -07:00
2026-05-28 19:49:31 -07:00
2026-05-20 04:41:04 -07:00
2026-05-16 12:56:31 -07:00
2026-05-18 04:01:51 -07:00
2026-05-31 17:23:26 -07:00
2026-05-30 13:07:49 -07:00
2026-06-01 08:13:36 -07:00
2026-05-20 01:27:22 -07:00
2026-05-28 10:32:16 -07:00
2026-05-28 19:49:31 -07:00
2026-05-18 14:46:20 -07:00
2026-05-18 14:46:20 -07:00
2026-05-15 11:47:03 -07:00
2026-06-02 09:02:48 -07:00
2026-06-02 17:58:41 -07:00
2026-05-28 21:23:48 -07:00
2026-06-02 10:07:08 -07:00
2026-05-10 15:33:24 -07:00
2026-05-18 00:47:08 -07:00
2026-05-16 10:31:44 -07:00
2026-05-17 23:21:34 -07:00
2026-05-11 06:47:43 -07:00
2026-05-11 06:47:43 -07:00
2026-06-01 22:50:41 -07:00
2026-05-23 06:06:51 -07:00
2026-06-02 18:29:53 -07:00
2026-05-19 08:13:06 -07:00
2026-05-31 15:17:11 -07:00
2026-05-17 00:22:57 -07:00
2026-05-17 09:24:28 -07:00