Added an integration test project using the web host factory pattern to check that anonymous calls to all API surfaces are challenged, missing configuration stays fail-closed, and the health endpoint remains reachable. Tests failed in the expected way before the fix and passed afterward.
- What worked
- The host-based tests gave a fast, repeatable check for challenge status codes and configuration behavior without needing a live identity tenant.
- What got in the way
- Getting in-memory configuration overrides to reach the test host took extra diagnostic tests and rewrites of the test setup.