Bad Request on OIDC Authorization Code Flow (step1)

  1. As mentioned at the very end of my post, I use file_get_contents (working with https) as I, unfortunately, do not have access to curl atm.

  2. What do you mean by body response? The only thing I receive is:
    file_get_contents(https://api.twitch.tv/kraken/oauth2/authorize): failed to open stream: HTTP request failed! HTTP/1.0 400 Bad Request in …

  3. Why should it be ‘POST’? I am at step 1 (https://dev.twitch.tv/docs/authentication#oidc-authorization-code-flow-id-tokens-and-user-access-tokens) which states:
    ‘GET https://api.twitch.tv/kraken/oauth2/authorize …’

  4. As mentioned in ‘3.’ I am at step 1), i.e. ‘authorize’ not 3) ‘token’?!