cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1223
Views
0
Helpful
3
Replies

api request authorize

mramirsha
Level 1
Level 1

hi 

i request to cisco api to get access token but i got response 401 and {"error_description":"Invalid client or client credentials","error":"invalid_client"}

(i have client_id and client_secret)

my code:

curl -i -H "Content-Type: application/x-www-form-urlencoded" -X POST 'https://cloudsso.cisco.com/as/token.oauth2' -d "client_id=dtztp2tr4gz8cxwy52bgddc2" -d "client_secret=4aEdtxJRNArVxuYjHsGuKDDU" -d "grant_type=client_credentials"

3 Replies 3

rwang3
Cisco Employee
Cisco Employee

Can I know how you register your client_id and client_secrect?

It is registered through my application portal on https://apiconsole.cisco.com,

any updates? was this issue resolved? We are facing the same problem...