Teknium
09a5cd8084
fix(auth): sync manual:device_code Codex pool entries on re-auth ( #33744 )
...
#33164 made _save_codex_tokens sync the singleton-seeded `device_code`
pool entry on Codex OAuth re-auth. That fixed the #33000 path but missed
`manual:device_code` entries created by `hermes auth add openai-codex`
(the recommended workaround for users who hit #33000 before #33164
landed).
Every subsequent re-auth would refresh the device_code entry but leave
the manual:device_code entry holding the consumed refresh token plus
stale last_error_* markers — immediately recreating the 401
token_invalidated symptom on the next request, exactly as reported in
#33538 .
Extend the refreshable source set to include `manual:device_code`.
Completing the device-code OAuth flow proves the user owns the ChatGPT
account, so it is safe to refresh every device-code-backed entry. Keep
`manual:api_key` and other non-device-code manual sources untouched —
those represent independent credentials.
Closes #33538 .
2026-05-28 01:33:10 -07:00
..
2026-05-27 02:12:27 -07:00
2026-05-26 15:41:11 -07:00
2026-05-16 02:58:57 -07:00
2026-05-23 21:03:51 -07:00
2026-05-08 14:27:40 -07:00
2026-05-25 01:20:33 -07:00
2026-05-28 01:33:10 -07:00
2026-05-18 10:14:38 -07:00
2026-05-25 05:07:52 -07:00
2026-05-28 15:14:05 +10:00
2026-05-19 22:34:05 -07:00
2026-05-28 15:14:05 +10:00
2026-05-18 21:38:05 -07:00
2026-05-25 01:20:33 -07:00
2026-05-11 11:13:25 -07:00
2026-05-11 11:13:25 -07:00
2026-05-25 01:20:33 -07:00
2026-05-13 22:54:21 -07:00
2026-05-27 12:16:15 -07:00
2026-05-15 02:31:30 -07:00
2026-05-17 02:29:41 -07:00
2026-03-30 17:07:21 -07:00
2026-05-27 02:41:24 -07:00
2026-05-13 09:34:15 -07:00
2026-05-28 00:25:08 -07:00
2026-05-25 12:23:23 +10:00
2026-05-11 11:13:25 -07:00
2026-05-18 17:39:50 +00:00
2026-05-11 11:13:25 -07:00
2026-05-21 23:40:58 -07:00
2026-05-24 15:43:48 -07:00
2026-03-26 01:34:27 -07:00
2026-05-18 16:34:24 +05:30
2026-05-11 11:13:25 -07:00
2026-05-27 00:43:32 -07:00
2026-05-28 15:14:05 +10:00
2026-05-25 15:18:55 -07:00
2026-05-23 05:24:57 -07:00
2026-05-23 05:24:57 -07:00
2026-05-23 02:30:41 -07:00
2026-05-28 12:42:13 +10:00
2026-05-16 23:05:27 -07:00
2026-05-11 11:13:25 -07:00
2026-05-13 22:31:11 -07:00
2026-05-28 00:19:31 -07:00
2026-05-27 22:07:49 -07:00
2026-05-18 20:47:01 -07:00
2026-05-27 22:07:49 -07:00
2026-05-18 21:10:12 -07:00
2026-05-27 22:07:49 -07:00
2026-04-11 17:23:36 -07:00
2026-05-28 00:19:31 -07:00
2026-05-26 12:48:14 -07:00
2026-05-26 12:48:14 -07:00
2026-05-26 12:48:14 -07:00
2026-05-25 01:20:33 -07:00
2026-05-20 09:18:23 -07:00
2026-05-08 14:27:40 -07:00
2026-05-27 00:43:32 -07:00
2026-05-19 10:57:35 -07:00
2026-05-28 00:19:31 -07:00
2026-05-28 00:19:31 -07:00
2026-05-28 00:19:31 -07:00
2026-05-23 18:18:41 -07:00
2026-05-07 07:18:21 -07:00
2026-04-29 21:56:51 -07:00
2026-05-25 01:20:33 -07:00
2026-05-27 02:12:27 -07:00
2026-05-23 02:39:09 -07:00
2026-05-21 14:18:02 -07:00
2026-05-25 05:07:58 -07:00
2026-05-25 03:40:47 -07:00
2026-05-27 00:43:32 -07:00
2026-05-09 12:48:14 -07:00
2026-05-11 11:13:25 -07:00
2026-05-08 14:27:40 -07:00
2026-05-21 07:48:53 -07:00
2026-05-25 01:20:33 -07:00
2026-05-25 01:20:33 -07:00
2026-05-12 01:02:25 -07:00
2026-05-24 15:15:16 -07:00
2026-05-16 23:00:58 -05:00
2026-05-28 13:42:27 +10:00
2026-05-17 02:29:41 -07:00
2026-05-27 00:43:32 -07:00
2026-04-29 04:03:03 -07:00
2026-05-27 13:39:58 -07:00
2026-05-18 20:05:23 -07:00
2026-05-08 17:01:12 -07:00
2026-05-28 00:19:31 -07:00
2026-05-11 11:13:25 -07:00
2026-05-19 14:25:10 -07:00
2026-05-26 15:41:11 -07:00
2026-05-28 00:28:42 -07:00
2026-05-18 20:05:47 -07:00
2026-05-06 15:49:59 -07:00
2026-05-27 02:12:27 -07:00
2026-05-24 04:55:18 -07:00
2026-05-20 09:18:23 -07:00