cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

Unable to get authorization token

dmitriy.teslya
Level 1
Level 1

Hello,

I'm trying to use Cisco Support API for PSS, particularly EoX API.

I have successfully registered my app and use client_id and secret from here - https://apiconsole.cisco.com/apps/myapps

When I try to get an authorization code with this URL and POST method in Postman:

https://cloudsso.cisco.com/as/token.oauth2?grant_type=client_credentials&client_id= e5z3kfdbr3srkqzvzb6n33wj&client_secret=<secret>&response_type=code

I get this response:

 

{
    "error_description": "Invalid client or client credentials.",
    "error": "invalid_client"
}

I also tried GET method and this URL:

https://cloudsso.cisco.com/as/authorization.oauth2?response_type=code&grant_type=client_credentials&client_id= e5z3kfdbr3srkqzvzb6n33wj&client_secret=<secret>

This returns 400 - Unknown or invalid client_id

 

Below is the screenshot from API Console.

Screenshot 2020-07-28 at 15.09.13.png

Any advice would be appreciated.

 

 

 

Who Me Too'd this topic