cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1220
Views
5
Helpful
3
Replies

POST Access Token 200 Response missing scopes

BlakeR
Level 1
Level 1

Hello,

We are running into an issue where after authenticating successfully, the access tokens we receive from the POST response to https://webexapis.com/v1/access_token is missing scopes. The scopes we are asking are spark:people_read, cjp:config, and cjp:config_read. The only scope that is getting returned in the 200 response is spark:people_read. The Integration App setting on https://developer.webex-cx.com/my-apps/ for the App in question has the 3 above Scopes selected. We already manually granted access.

We verified that the initial GET request to https://webexapis.com/v1/authorize? has the scopes in the URL: "scope=spark%3Apeople_read%20cjp%3Aconfig%20cjp%3Aconfig_read".

To be clear, the POST to https://webexapis.com/v1/access_token is coming back with a 200 response code. But without the cjp scopes above, we cannot make any of the API calls necessary for our client's needs.

Any assistance in resolving this issue would be appreciated. We are on a tight deadline and currently dead in the water.

1 Accepted Solution

Accepted Solutions

Arunabh Bhattacharjee
Cisco Employee
Cisco Employee

Hi,

The admin needs to be a Webex Contact Center Administrator - it looks like the user does not have a contact center license.

Can you please confirm this? 

FAQ:

https://developer.webex-cx.com/faq/#gettingStarted 

Thanks & Regards,

Arunabh.

View solution in original post

3 Replies 3

BlakeR
Level 1
Level 1

Two other important details:

  1. The account we are using is a Full Admin WebEx account.
  2. The "Try Out" samples are coming back with 403 "Access denied - Client is forbidden access to the resource" errors while logged into the Full Admin WebEx Account. Screenshot from https://developer.webex-cx.com/documentation/team/v1/list-teams 

Arunabh Bhattacharjee
Cisco Employee
Cisco Employee

Hi,

The admin needs to be a Webex Contact Center Administrator - it looks like the user does not have a contact center license.

Can you please confirm this? 

FAQ:

https://developer.webex-cx.com/faq/#gettingStarted 

Thanks & Regards,

Arunabh.

BlakeR
Level 1
Level 1

That was indeed the issue. We had our customer double check and add the licenses required and we are now getting the Scopes we expect and the "Try Out" samples are working as well.

Thank you.