Issue with OAuth redirect uri

Hi, I’ve been working on getting OAuth authentication working from the endpoint, and I noticed that twitch redirects to the uri with a # where usually a ? is and the browser is not passing the parameters back to the server to get the access token
Example of what the redirect uri looks like: http://localhost:6969/#access_token=whatever
Is this a known issue? Thanks.

I’d also like to add that I’ve tested with several http handling libraries, including manually parsing with low level sockets. each time the GET request is just / due to the # being so early. Also tested with several browsers, each giving the same result.

You requested implicit auth instead of regular auth

response_type= token instead of response_type=code


instead of

1 Like

well that was the worlds easiest fix, thank you ^^

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