mirror of
https://github.com/openai/codex.git
synced 2026-10-15 16:48:52 +00:00
## What changed - Consolidate callback address and port parsing in `enterprise_callback_settings`. - Reuse `StoredOAuthTokens::has_refresh_token` for credential validation. - Keep `EnterpriseOAuthHttpClient` private and inline removal of the `resource` parameter from authorization code token requests. - Share the `complete_login` test helper across login and logout tests. ## Testing Expand callback settings coverage to check default and configured ports, ports from callback URLs, and rejection of conflicting ports alongside loopback address validation. GitOrigin-RevId: 42c9be5663ce13b7349cefac2c6a20c4fa974aef