Adding get requests to authorization url

I wonder if it’s possible to add get parameters with the redirect_url even if i haven’t set that in the application url?

I believe that will fail.

You can pass additional arguments via the scope parameter instead. That should achieve what you need.

Nope, i got this error:

{“error”:“Bad Request”,“status”:400,“message”:"Invalid scope requested: somedata}

Sorry I meant state not scope:

https://github.com/justintv/Twitch-API/blob/master/authentication.md

https://api.twitch.tv/kraken/oauth2/authorize
?response_type=code
&client_id=[your client ID]
&redirect_uri=[your registered redirect URI]
&scope=[space separated list of scopes]
&state=[your provided unique token]

State ^^ scope is for permission requests!

Thanks :slight_smile:

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