I am trying to implement a login with twitch feature for my website. Using:
a href = “https://api.twitch.tv/kraken/oauth2/authorize?response_type=code&client_id=[my id]&redirect_uri=http://127.0.0.1:8000&scope=user_read”>Connect Twitch /a
I am able have users grant my app access, however; I was wondering what Twitch returns when it redirects users back to my website. The ‘Code’ part of the query string. This code changes every time, even if its the same user clicking my " Connect Twitch" button
Example URL returned to my site:
http://127.0.0.1:8000/?code=l3ivsd2mnsdflom2359j&scope=user_read