Missing channel:read:subscriptions scope

Not sure what changed but it is working now. I’m able to receive the token with multiple scopes.

Would someone please help me with my issue where the browser is changed the url string and removing the “:” in the scope value?

This is my URL value
https://id.twitch.tv/oauth2/authorize?response_type=token&client_id=xxxxx&redirect_uri=http://127.0.0.1:5500/twitch.html&scope=channel_read+channel:read:subscriptions&state=aaaa

This is the URL being sent
http://127.0.0.1:5500/twitch.html#access_token=yyyy&scope=channel_read+channel%3Aread%3Asubscriptions&state=aaaa&token_type=bearer

Thank you

It’s not removed. That’s URL encoded. Just urldecode

https://www.w3schools.com/jsref/jsref_decodeuri.asp

would seem relevant here

This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.