Non-standard parameters in http response for response_type=token on Authorize

On opening this URL via my app (response_type=token)" +TwitchClientID + “&redirect_uri=http://localhost:3000&scope=” + urlEncodedScope + “&state=” + UUID()

, the user gets taken to the Authorize form (seems the Twitch system cache authorization? because after the first Authorization click, subsequent requests simply return a response, which is where my problem begins:

I receive a response looking like this:
Please note the “#” used as a parameter start character.
Authorize result with response_type=code returns a standard ? as the delimiter:

Any ideas, people?
Thanks heaps

You asked for and obtained an implict auth token.

There is nothing wrong here. This is correct according to the oAuth specification.

Under implicit auth (Getting OAuth Access Tokens | Twitch Developers) you will obtain a access_token in the #string/URIFragment of the redirect URL, for client side capture and usage
Under code auth (Getting OAuth Access Tokens | Twitch Developers) you will obtain a code in the query string of the redirect URL for server side exchange for an access and refresh token set.

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