I just added the API version in the header and I’m trying to get the right token as follows:
url = "https://api.twitch.tv/kraken/oauth2/authorize"
params = {"Client-ID" : ""+ config.CLIENT_ID +"",
"Accept" : "application/vnd.twitchtv.v5+json",
"scope" : "openid channel_editor"}
config.resp = requests.get(url=url, headers=params)
But I’m getting “Bad request”, so I’m probably miswriting something.