3 ms·
> The problem is if a black hat does the exact same thing, with the authorization server and all, directs user to an interface that shows the exact same (and ac
by yencabulator 4y ago
> The problem is if a black hat does the exact same thing, with the authorization server and all, directs user to an interface that shows the exact same (and actually legit) "allow Acme to access your account" screen, except their code grabs the access token in the end.
If the attacker can make the user happily give them access, then yeah of course the sucker gets pwned.
If you want to protect against this more, you can make your app talk to your own servers, which hold an extra secret, and tie the OAuth into the server instead of just the local app. It gets more complex quick, but hey that's OAuth for you...
- throwaway290 4y agoYeah, but my server can't tell an impostor either if it fakes my client well enough. Anyway, good point.