04-13-2023 06:09 AM
Hi,
I am trying to use the EoX Support API, but even though I am able to register my app on apiconsole.cisco.com, I always get an error 401 with "invalid client or client credentials" when I pass my key and secret to https://cloudsso.cisco.com/as/token.oauth2
Example:
I have tried deleting and re-registering the application several times, but I always get the same response.
Anyone run into this before?
Thanks in advance!
08-31-2023 10:14 PM
Hi,
I found out that the URL depends on the Client-ID and secret you are using. For the id generated in the developer portal it is the one you mentioned.
For IDs generated in the apiconsole you have to use this URL: https://id.cisco.com/oauth2/default/v1/token
Not sure, if it is working for you.
For example: When I then do an API request to get the End of Life date for a specific Product ID, I got the response "Developer Inactive"...
But with the changed URL at least the authentication should get you an bearer token.
09-01-2023 02:24 AM
02-06-2024 03:04 AM
Are we good to close this?
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide