Step 1 of an oAuth loop is to Redirect a user visiting your website to Twitch.
NOT a cURL/Requests HTTP get.
1) Send the user you want to authenticate to Twitch. Then, an authorization page will ask the user to sign up or log into Twitch and allow the user to choose whether to authorize your application/identity system.