cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
495
Views
0
Helpful
2
Replies

Obtaining token for "grant_type=password" sometimes fails

jacobu
Level 1
Level 1

I am using https://cloudsso.cisco.com/as/token.oauth2 grant_type=password to get a token. For mosts users it works fine - I provide the credentials and get a bearer token. But for others it fails - 

{
"error_description": "We didn't recognize the username or password you entered. Please try again.",
"error": "invalid_grant"
}

even though the credentials can be used to successfully login through the Cisco website. I am using Postman to test. Since it works for certain users I don't think I have a problem with my use of the API, is it possible that there is some issue with the way the user is defined in Cisco?

2 Replies 2

Paul Zimmerman
Cisco Employee
Cisco Employee

Hi @jacobu , which API is this for? Is this API Console?

Hi,
I would like to use CCW services APIs - but the first step in getting the authorization and access token, so I can continue on. that is where things are failing.

Jacob