07-31-2020 02:20 AM
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.
Any advice would be appreciated.
Solved! Go to Solution.