Visual Studio Redirect_uri

Hello,

i create an application on Visual Studio (in js and html) and i want to get the Authorization token but my redirect_uri
don’t work.

Thank

Did the Redirect URI you set in Twitch Client API settings directly match the one you are sending?

What is the URL you are sending users to?

What is the response you are getting?

my redirect URI is the same

the code of the url send :
jQuery.ajax({
method: “GET”,
url: “https://api.twitch.tv/kraken/oauth2/”,
data: ‘’,
dataType: “json”,
headers: {
‘Client-ID’: ‘myid’,
‘redirect_uri’: ‘http://localhost/login’,
‘response_type’: ‘token id_token’,
“scope”: “viewing_activity_read”
}
my uri does not match

That might be the issue, try changing it to https://api.twitch.tv/kraken/oauth2/authorize

Also, just to check, are you a game developers? because the scope you’re requesting is for using Drops, which is for games developers.

Ok, thank you ^^

No, i forgot to modify it thank you ^^

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