Hi
Where should I be troubleshooting if my oAuth2 URL contains “client_id=mynewclientidcreatedjusttoday” and despite the value being correct I get 400 error returned? I tried an old and new client_id with the correctly paired secret. Should I be ignoring the “No client id specified” part and focusing on Bad Request or can the message part be trusted to point me in the right direction?
{“error”:“Bad Request”,“status”:400,“message”:“No client id specified”}
Here is an image to add some proof (client ID partially hidden but it is correct)
Thanks you for your time. I need to sleep and look forward to waking to discover I’m missing something obvious. That is what happens 99% of the time huh!
Alca
2
If the client ID is invalid for some reason, you’ll get “No client id specified.” Make sure the full client ID is passed.
1 Like
The full client_id is passed along with scope and state.
https://api.twitch.tv/kraken/oauth2/authorize?
response_type=code
&client_id=rkk6br1pkzoe85af80crvqpzbr7kl7f1
&redirect_uri=http://localhost/wordpress/wp-admin/admin.php?page=twitchpress
&scope=user_read+user_blocks_edit+user_blocks_read+user_follows_edit+channel_read+channel_editor+channel_commercial+channel_stream+channel_subscriptions+user_subscriptions+channel_check_subscription+chat_login+channel_feed_read+channel_feed_edit
&state=1%2Chttp%3A%2F%2Flocalhost%2Fwordpress2544747%2Cadmin
You can close this I solved the problem thanks.
Please share the solution so the thread can be useful for others who come across it in the future. 
system
Closed
6
This topic was automatically closed 30 days after the last reply. New replies are no longer allowed.