Twitch login redirect issue

I don’t think that will work since you are just making a GET request and dumping the output to the user. (I could be wrong since I am not familiar with Flask)

Try issuing a HTTP redirect to the URL instead so the user can login and complete the authentication process. Once they complete it will redirect back to your app at your redirect_uri.