Hacker News new | past | comments | ask | show | jobs | submit login

These are two separate things: MITM and open redirect. A MITM attack is not on the the auth code, but on the bearer token.



By design, OAuth2 doesn't allow for open redirects: this is just part of how clients are registered. What I'm getting at is not strongly validating the registered redirects on a sensitive client, which can lead to leakage of the access token in the implicit flow and the authorization code grant flow. Once you perform that intercept, the token may be presented by a malicious third party until it expires or is revoked.




Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: