|
|
|
|
|
by davewhat
4428 days ago
|
|
The flow does not originate at your site. Your site did not create the redirect URI that is being passed to Google / Twitter in your example. The URL is generated by a malicious party. The URL constructed (1) sends the user to Google / Twitter for authentication, (2) includes a return URL of your open redirector, and (3) has your open redirect send you on to an evil site. |
|
Sorry, I don't understand this sentence.
The redirect URI is not normally passed to Google / FB / Instagram dynamically, but normally registered with Google / FB / Instagram once, when you set up an app with them (and get a secret key etc).
If someone else registered their own app with their own redirector, they wouldn't have my secret key.
Edit: removed Twitter, they use oAuth 1 which is strange / different / weird.