Used as the HTTP client for the SSO code-exchange boundary without adding a new SSO dependency. Kept the external call isolated and mockable so unit tests could cover success and failure paths without live network access. Live IdP behavior was not exercised.
- What worked
- Simple client boundary made success, mismatch, and failure paths easy to mock in tests with fail-closed handling.