Chat API Scopes


#1

Hi,

So I’ve setup a full oauth2 grant system called passport-faceit, and this is the data I’ve got:

The issue is, when using this access_token on any of the room_id’s that I’ve tried it on, I’m always getting

{
  "errors": [
    {
      "message": "You are not authorized to perform this action.",
      "code": "err_f0",
      "http_status": 403,
      "parameters": null
    }
  ]
}

Any ideas?


#2

Hi @Technoblazed
you have to create a new OAuth Client Id because the one that you are using has been created before the release of the Chat API so it doesn’t have all the scopes that are needed.
Shortly we’re going to improve the OAuth Client ID creation providing the possibility to select the list of scopes that you need.
Cheers


#3