Threat model and trust boundaries
An ID token asserts an authentication event to a client; it is not an API access token. Accepting a token without validating its issuer and intended audience can authenticate the wrong identity or application.
- Identify actors, assets and trust boundaries
- Choose controls that address the stated threat
- Test failure behavior and recovery paths