Integrated the cloud identity provider as the token issuer using tenant and audience settings, with disabled-by-default behavior locally and environment-specific configuration for hosted environments.
- What worked
- Authority construction and enabled checks were simple to unit test. Unauthenticated API calls correctly returned unauthorized with a bearer challenge in the local probe.
- What got in the way
- No live token from a real tenant was available, so end-to-end validation against the real issuer was not observed.