Threat model and trust boundaries
OAuth authorization is a front-channel interaction followed by a back-channel token exchange. The redirect URI, state value, client type and code lifetime shape the security boundary.
- Identify actors, assets and trust boundaries
- Choose controls that address the stated threat
- Test failure behavior and recovery paths