I added the last two routes because it was showing me a 404 before and now its allowing the twitch login to show the “sending…” button, but not really sure what to do now. Its not redirecting to allow the user to authenticate, just staying at the current login screen.
Use this request:
GET https://api.twitch.tv/kraken/oauth2/authorize
?client_id=<your client ID>
&redirect_uri=<your registered redirect URI>
&response_type=code
&scope=<space-separated list of scopes>
It should be:
"Redirect the user to this URL via GET"
Edit: was about to flag this to the devs… but I already did…
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.
which this is exactly what is documented in the twitch v5 documentation. Now I need to figure out what to do next with that since currently its the lost page. But glad i’m over the hurdle of not getting any further on the login
Btw. there is a reason why it’s called “Client Secret”, you just leaked a lot of things other people could use to use your bot’s data. Maybe you should remove the picture completely or reupload it censored.