Change Codex test from token-expiry-only check to probing the real Codex API endpoint. Sends a minimal request body that triggers a fast 400 without consuming quota. A 400 confirms auth works; only 401/403 indicates a bad token. Also adds generic acceptStatuses support to the OAuth test framework so other providers can define non-200 success statuses. |
||
|---|---|---|
| .. | ||
| route.js | ||
| testUtils.js | ||