OAuth redirect URIs are not just configuration details. If an authorization server accepts loosely matched or attacker-controlled redirect destinations, an attacker may be able to divert an authorization response and expose an authorization code or access token. The IETF's OAuth 2.0 Security Best Current Practice (RFC 9700) requires exact string matching between a requested redirect URI and the URI registered by the client, with a limited localhost-port exception for native apps. It also warns against open redirectors that forward users to arbitrary destinations supplied in query parameters. Practical checks: register only the exact callback URLs needed; avoid wildcard or prefix matching; remove unused callbacks; do not build redirect destinations directly from untrusted input; and test the complete authorization flow, including error paths. PKCE and state/nonce protections address other parts of the flow, but they do not make an unsafe redirect allowlist safe. Source: IETF RFC 9700.