OAuth popping error 400 Missing Client ID

I’m confused as when I purposefully mistype the client ID I get confronted with a page that Twitch won’t allow me to view the page. However, when I have the correct ID it lets me click Authorize but then in my backend I get the error:

[status] => 400
[message] => missing client id

Does the client ID get lost somewhere?

Is there any way to add the client ID onto the User Endpoint, e.g. https://api.twitch.tv/helix/users ?

With Helix endpoints you have to provide the client id as the Client-ID header in the request, alternatively you can use an OAuth token in the Authorization header which will also work in place of a client id.

Thanks a billion, I’ll try that!

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