In the documentation https://dev.twitch.tv/docs/authentication#oidc-authorization-code-flow-id-tokens-and-user-access-tokens
It requires to send a user to the authorize endpoint. However the accompanied curl in the documentation tells us to add a header?
curl -H 'Accept: application/vnd.twitchtv.v5+json' \
-X GET 'https://api.twitch.tv/kraken/oauth2/authorize?response_type=code&client_id=uo6dggojyb8d6soh92zknwmi5ej1q2&redirect_uri=http://localhost&scope=viewing_activity_read&state=c3ab8aa609ea11e793ae92361f002671'
How are we supposed to signal a browser to send a url with a specific header?
Not sure why those examples are there like they are; the page doesn’t even return json like requested in the example’s Accept header. Just send the user to the URL constructed like in the example.
I thought so, because it works without sending headers… just that my nonce values aren’t returning with the oidc authorization flow
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.