[SOLVED] Status: 400, message: 'missing client secret'

You also misspelt client_secret and client-id should be client_id and ommitted the grant_type

axios({
  method: 'POST',
  url: 'https://id.twitch.tv/oauth2/token?client_id=foo&client_secret=bar&grant_type=client_credentials'
})
1 Like