How to resolve 'missing response type'?

Authorization calls are POST data or QUERY params.

Step one of oAuth is QUERY params and a redirect to Twitch.

So

  • don’t use headers
  • it needs to be a <a href and redirect the user to Twitch to grant the connection