You need to actually go to that URL in your browser, not use a request library like cURL.
On that page Twitch will ask if you want to connect to that app and grant it the scopes you’re asking for.
If you accept you’ll be redirected to your redirect URL with a code param that can be exchanged for an Access Token and Refreah Token.