<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: What values for Auth URL in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589060#M299</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That helped a lot!&amp;nbsp; I got the Auth Code grant type working using Postman. See below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 12.0pt; background: white;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using Postman to request EoX information for a Serial Number using Grant type Authorization Code&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Start Chrome and open Postman&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Enter the information as shown below for a request to retrieve EoX info for a given serial number into the appropriate Postman fields:&lt;/SPAN&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;Method - &lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Select &lt;STRONG&gt;GET&lt;/STRONG&gt; in the Method drop down&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;URL -&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;E&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;nter &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #505050; background: #FAFAFA;"&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/supporttools/eox/rest/5/EOXBySerialNumber/1/" rel="nofollow" target="_blank"&gt;https://api.cisco.com/supporttools/eox/rest/5/EOXBySerialNumber/1/&lt;/A&gt;&lt;EM&gt;&amp;lt;serial-number&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;Authorization – &lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Select Authorization&lt;/SPAN&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;Type&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;: Select OAuth 2.0 from the drop down &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Click Get Net Access Token&lt;/SPAN&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Callback URL -&amp;nbsp; Copy &amp;amp; Paste this URL to your apps Redirection-URL&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Token Name – enter a token name&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Auth URL - &lt;/SPAN&gt; &lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;&lt;A href="https://cloudsso.cisco.com/as/authorization.oauth2"&gt;https://cloudsso.cisco.com/as/authorization.oauth2&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Access Token URL - &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;&lt;A href="https://cloudsso.cisco.com/as/token.oauth2"&gt;https://cloudsso.cisco.com/as/token.oauth2&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Client ID – Your Client ID&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Client Secret – Your client secret&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Grant Type – Auth Code&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Uncheck Request access token locally&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Click Request Token&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Login (if prompted)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Click Allow &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;Existing Tokens - &lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Your to&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;ken name will show up in the list of existing tokens. Select it see the contents &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;Add token to – &lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Select Header and click Use Token&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;Click &lt;STRONG&gt;Send&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;Postman will send the request to the server, and the display the response.&lt;/SPAN&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;You can see the &lt;STRONG&gt;Response Code&lt;/STRONG&gt; that is returned displayed here as '200' and is shown in the &lt;STRONG&gt;Status&lt;/STRONG&gt; field.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;You can see the &lt;STRONG&gt;JSON&lt;/STRONG&gt; response data that contains the EOX Record. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Jun 2017 12:55:05 GMT</pubDate>
    <dc:creator>MARK DAUSCHER</dc:creator>
    <dc:date>2017-06-08T12:55:05Z</dc:date>
    <item>
      <title>What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589058#M297</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm very new to working with API's so apologies in advance. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm using Postman for testing the EoX API and others.&amp;nbsp; I'm using Get New Access Token to request a token using Grant Type: Authorization Code. &lt;SPAN style="font-size: 13.3333px;"&gt;I have my application registered on the Cisco API Console and have a Client ID and Client Secret ID. &lt;/SPAN&gt;The Cisco OAuth v2.0 Token Developer Guide is a bit confusing (to me) as to which URL's to use for Auth URL and Access Token URL.&amp;nbsp; &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Can anyone help clarify this for me?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Much appreciated.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Mark&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 07 Jun 2017 20:43:41 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589058#M297</guid>
      <dc:creator>MARK DAUSCHER</dc:creator>
      <dc:date>2017-06-07T20:43:41Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589059#M298</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Mark,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not quite sure how Postman would work using the Auth Code grant type - I never tried to make that work. Auth Code requires a web page (the "Redirection-URL" you entered when you created the app and selected Auth Code) that the token server will redirect the request to once the token is generated. I really don't know how that would play with Postman. Perhaps other experts might chime in.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I typically use the grant type of client credentials when working in Postman. If you are new to API development, client cred is probably the easiest place to start with since it's a two-legged authentication process and is relatively simple. Once you get it working and can use the resulting token to make calls to the APIs, you can then experiment with the other grant types.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;But you asked specifically about auth code and the URLs it needs, which really has nothing to do with Postman, so... Your first call is a GET to &lt;/SPAN&gt;&lt;A class="jive-link-external-small unlinked" rel="nofollow" target="_blank"&gt;https://cloudsso.cisco.com/as/authorization.oauth2?response_type=code&amp;amp;client_id=&lt;/A&gt;&lt;EM&gt;&amp;lt;your client id&amp;gt;&lt;/EM&gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once the user logs in, the code that is generated is used in a POST to &lt;SPAN style="font-size: 13.3333px;"&gt;&lt;A class="jive-link-external-small unlinked" rel="nofollow" target="_blank"&gt;https://cloudsso.cisco.com/as/token.oauth2&lt;/A&gt;&lt;SPAN&gt; using the code, your client id and client secret. That request would look something like the curl call:&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;curl -s -k -H "Content-Type: application/x-www-form-urlencoded" -X POST &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-d "client_id=&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;lt;your client id&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-d "client_secret=&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;lt;your client sercret&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-d "code=&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;lt;the generated code from the previous call&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;-d "redirect_uri=&lt;SPAN style="font-size: 13.3333px;"&gt;&lt;EM&gt;&amp;lt;your redirection url&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;" &lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;&lt;SPAN class="s1"&gt;&lt;SPAN&gt;-d "grant_type=authorization_code" &lt;/SPAN&gt;&lt;A class="jive-link-external-small unlinked" rel="nofollow" target="_blank"&gt;https://cloudsso.cisco.com/as/token.oauth2&lt;/A&gt;&lt;SPAN&gt; &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That should generate the token, which you can then use to make calls to the EOX API.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;HTH,&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 00:21:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589059#M298</guid>
      <dc:creator>kcolberg</dc:creator>
      <dc:date>2017-06-08T00:21:36Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589060#M299</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;That helped a lot!&amp;nbsp; I got the Auth Code grant type working using Postman. See below&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="margin-bottom: 12.0pt; background: white;"&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; Using Postman to request EoX information for a Serial Number using Grant type Authorization Code&lt;/SPAN&gt;&lt;/P&gt;&lt;OL style="list-style-type: decimal;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Start Chrome and open Postman&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Enter the information as shown below for a request to retrieve EoX info for a given serial number into the appropriate Postman fields:&lt;/SPAN&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;Method - &lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Select &lt;STRONG&gt;GET&lt;/STRONG&gt; in the Method drop down&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;URL -&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;E&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;nter &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #505050; background: #FAFAFA;"&gt;&lt;A class="jive-link-external-small" href="https://api.cisco.com/supporttools/eox/rest/5/EOXBySerialNumber/1/" rel="nofollow" target="_blank"&gt;https://api.cisco.com/supporttools/eox/rest/5/EOXBySerialNumber/1/&lt;/A&gt;&lt;EM&gt;&amp;lt;serial-number&amp;gt;&lt;/EM&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;Authorization – &lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Select Authorization&lt;/SPAN&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;Type&lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;: Select OAuth 2.0 from the drop down &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Click Get Net Access Token&lt;/SPAN&gt;&lt;UL style="list-style-type: disc;"&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Callback URL -&amp;nbsp; Copy &amp;amp; Paste this URL to your apps Redirection-URL&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Token Name – enter a token name&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Auth URL - &lt;/SPAN&gt; &lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;&lt;A href="https://cloudsso.cisco.com/as/authorization.oauth2"&gt;https://cloudsso.cisco.com/as/authorization.oauth2&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Access Token URL - &lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;&lt;A href="https://cloudsso.cisco.com/as/token.oauth2"&gt;https://cloudsso.cisco.com/as/token.oauth2&lt;/A&gt;&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Client ID – Your Client ID&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Client Secret – Your client secret&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif;"&gt;Grant Type – Auth Code&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Uncheck Request access token locally&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Click Request Token&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Login (if prompted)&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Click Allow &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;Existing Tokens - &lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Your to&lt;/SPAN&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;ken name will show up in the list of existing tokens. Select it see the contents &lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;STRONG style="color: #333333; font-family: 'Arial',sans-serif;"&gt;Add token to – &lt;/STRONG&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Select Header and click Use Token&lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;Click &lt;STRONG&gt;Send&lt;/STRONG&gt;.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;Postman will send the request to the server, and the display the response.&lt;/SPAN&gt;&lt;UL style="list-style-type: circle;"&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;You can see the &lt;STRONG&gt;Response Code&lt;/STRONG&gt; that is returned displayed here as '200' and is shown in the &lt;STRONG&gt;Status&lt;/STRONG&gt; field.&lt;/SPAN&gt;&lt;/LI&gt;&lt;LI&gt;&lt;SPAN style="font-size: 10.5pt; font-family: 'Arial',sans-serif; color: #333333;"&gt;You can see the &lt;STRONG&gt;JSON&lt;/STRONG&gt; response data that contains the EOX Record. &lt;/SPAN&gt;&lt;/LI&gt;&lt;/UL&gt;&lt;/LI&gt;&lt;/OL&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Jun 2017 12:55:05 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589060#M299</guid>
      <dc:creator>MARK DAUSCHER</dc:creator>
      <dc:date>2017-06-08T12:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589061#M300</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Any new updates to this process.&amp;nbsp; The links on the API pages are missing or not well documented.&amp;nbsp; I am very new to the &lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;OAuth process.&amp;nbsp; I am following the recommendations seen here to use Postman and Client Credentials with no luck at all.&amp;nbsp; &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-family: 'Arial',sans-serif; color: #333333;"&gt;Thanks!&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 20:53:13 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589061#M300</guid>
      <dc:creator>Nathan Gageby</dc:creator>
      <dc:date>2018-06-11T20:53:13Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589062#M301</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I am not sure what updates you might be looking for. Mark did a nice job outlining the process for using Auth Code with Postman. But you specifically mention client credentials, which should work in Postman without much special setup - just a call to cloudsso to generate the token and than a call to the API gateway with that token to API itself.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;So what issue are you facing? Are you generating a token that doesn't work when calling the API? Are you having problems generating the token?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 22:14:14 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589062#M301</guid>
      <dc:creator>kcolberg</dc:creator>
      <dc:date>2018-06-11T22:14:14Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589063#M302</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;I am getting a json 0 error in postman. I have not been able to get from the clientID to the key. I feel pretty good about the process once I get the key. The key process appears to be far more complicated than I would expect.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Get Outlook for iOS&amp;lt;https://aka.ms/o0ukef&amp;gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Mon, 11 Jun 2018 22:32:24 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589063#M302</guid>
      <dc:creator>Nathan Gageby</dc:creator>
      <dc:date>2018-06-11T22:32:24Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589064#M303</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Perhaps you could start at the beginning - which API are you trying to use? Do you see it in the My APIs section of the API Console (&lt;A href="https://apiconsole.cisco.com/apps/myapis" title="https://apiconsole.cisco.com/apps/myapis"&gt;https://apiconsole.cisco.com/apps/myapis&lt;/A&gt;)? Have you registered an app for the API, thus getting a client ID and secret for the API? What request are you making in Postman that is giving you the error (and what is the HTTP status)? &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://apiconsole.cisco.com/documentation" title="https://apiconsole.cisco.com/documentation"&gt;https://apiconsole.cisco.com/documentation&lt;/A&gt; outlines the steps to register an application, make the call to get the token, and make the call to API itself. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What's missing is how to get the API into your My APIs list. That's dependent on the API. For the Support APIs, you must be an SNTC customer or a PSS partner and have gone through their associated on-boarding process (found at the top of &lt;A href="https://developer.cisco.com/site/support-apis/" title="https://developer.cisco.com/site/support-apis/"&gt;https://developer.cisco.com/site/support-apis/&lt;/A&gt;).&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Keith&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 18:00:26 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589064#M303</guid>
      <dc:creator>kcolberg</dc:creator>
      <dc:date>2018-06-12T18:00:26Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589065#M304</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Starting from scratch.&amp;nbsp; I have the below API setup started.&lt;IMG alt="" class="image-1 jive-image" src="https://community.cisco.com/legacyfs/online/fusion/117585_pastedImage_0.png" style="max-width: 1200px; max-height: 900px;" /&gt;&lt;/P&gt;&lt;P&gt;I am not able to use postman to turn the Client ID and secret into a key.&amp;nbsp; I receive a JSON 0 error. I then moved on to a Python example.&amp;nbsp; I am able to get that example to generate the key however the code appears to require 3.x to use the key and that version will not generate the key.&amp;nbsp; That detail is from this post -- &lt;A href="https://community.cisco.com/thread/64355"&gt;PSIRT - openVuln API Authorization Error&lt;/A&gt;. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;In Python 3.x I am getting a SSL handshake error that appears in a lot of discussion boards but I have yet to find an answer.&lt;/P&gt;&lt;P&gt;In Python 2.x Request is not valid. &lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;What I am looking to accomplish is this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I would love to test this in Postman but Python would be fine as well since I hope to turn this into a small program.&amp;nbsp;&amp;nbsp; I would like to pull the data that will indicate the recommended version of software similar to this link -- &lt;A href="https://software.cisco.com/research/home" title="https://software.cisco.com/research/home"&gt;https://software.cisco.com/research/home&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Once I have this data I want to compare it to a list of gear and version then create a report.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks All!!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 12 Jun 2018 18:14:46 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589065#M304</guid>
      <dc:creator>Nathan Gageby</dc:creator>
      <dc:date>2018-06-12T18:14:46Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589066#M305</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;would you mind if you try this on curl for troubleshooting purposes?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;A href="https://community.cisco.com/docs/DOC-64275"&gt;Accessing the Cisco PSIRT openVuln API Using curl&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Also, can you try to make the Grant Type to Client Credential instead?&lt;/P&gt;&lt;P&gt;If found several tutorial regarding this and all of them are using that grant type (example link below)&lt;/P&gt;&lt;P&gt;&lt;A href="https://github.com/CiscoPSIRT/openVulnAPI/tree/master/openVulnQuery" title="https://github.com/CiscoPSIRT/openVulnAPI/tree/master/openVulnQuery"&gt;https://github.com/CiscoPSIRT/openVulnAPI/tree/master/openVulnQuery&lt;/A&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 13 Jun 2018 11:41:17 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3589066#M305</guid>
      <dc:creator>Vince</dc:creator>
      <dc:date>2018-06-13T11:41:17Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3888540#M535</link>
      <description>&lt;P&gt;Hi Keith,&lt;/P&gt;&lt;P&gt;Sorry to bother you. To summarize my predicament:-&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;{"download_session_id":"65191032"&lt;BR /&gt;"download_retry_id":"57283157"&lt;BR /&gt;"service_status":"success"&lt;BR /&gt;"asd_service_response_exception":null&lt;BR /&gt;"asd_download_acceptance_exception":[]&lt;BR /&gt;"download_info_list":[&lt;BR /&gt;{"download_url":null&lt;BR /&gt;"image_guid":"7153245D64FBDB79F557FB5E3C065A52160E92B4"&lt;BR /&gt;"image_full_name":"c2960-lanlitek9-mz.150-2.SE11.bin"&lt;BR /&gt;"asd_download_url_exception":[&lt;BR /&gt;{"exception_code":"LOGIN_REQD"&lt;BR /&gt;"exception_message":"&lt;STRONG&gt;To Download this software&lt;/STRONG&gt;&lt;BR /&gt;&lt;STRONG&gt;you must Log In with your Cisco.com user ID&lt;/STRONG&gt;."}]&lt;BR /&gt;"cloud_url":null&lt;BR /&gt;"token":null}&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Curl I am trying to logon with:-&lt;/P&gt;&lt;P&gt;curl -s -k -H "Content-Type: application/x-www-form-urlencoded" -X POST -d "client_id=&lt;EM&gt;&lt;STRONG&gt;My API Client ID&lt;/STRONG&gt;&lt;/EM&gt;" -d "client_secret=&lt;STRONG&gt;&lt;EM&gt;My API Secret&lt;/EM&gt;&lt;/STRONG&gt;" -d "code=&lt;STRONG&gt;&lt;EM&gt;I used the TOKEN from the previous call&lt;/EM&gt;&lt;/STRONG&gt;" -d "redirect_ur&lt;STRONG&gt;i&lt;/STRONG&gt;=&lt;STRONG&gt;&lt;EM&gt;xxxx-xxx-xxx-xxx&lt;/EM&gt;&lt;/STRONG&gt;" -d "grant_type=authorization_code" &lt;A href="https://cloudsso.cisco.com/as/token.oauth2" target="_blank"&gt;https://cloudsso.cisco.com/as/token.oauth2&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Response:&amp;nbsp; &lt;STRONG&gt;{"error":"unauthorized_client"}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;I can download the files manually but we need to automate this process. Any help would be appreciated.&lt;/P&gt;&lt;P&gt;Thanks,&lt;/P&gt;&lt;P&gt;Simon&lt;/P&gt;</description>
      <pubDate>Thu, 11 Jul 2019 14:53:15 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/3888540#M535</guid>
      <dc:creator>sbas0013C</dc:creator>
      <dc:date>2019-07-11T14:53:15Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/4129796#M726</link>
      <description>&lt;P&gt;Having the same problem here.&amp;nbsp; The documentation does not include how to get the token propertly&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 22:40:33 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/4129796#M726</guid>
      <dc:creator>Javier Morales</dc:creator>
      <dc:date>2020-08-03T22:40:33Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/4129797#M727</link>
      <description>&lt;P&gt;Hi&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The Client ID is the same App Key?&lt;/P&gt;</description>
      <pubDate>Mon, 03 Aug 2020 22:44:06 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/4129797#M727</guid>
      <dc:creator>Javier Morales</dc:creator>
      <dc:date>2020-08-03T22:44:06Z</dc:date>
    </item>
    <item>
      <title>Re: What values for Auth URL</title>
      <link>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/4274501#M780</link>
      <description>&lt;P&gt;HI,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;im new to this too, and would like some help please&lt;/P&gt;&lt;P&gt;i went through what has been said before, but when i make a call, i get an access denied.&lt;/P&gt;&lt;P&gt;im using the&amp;nbsp;&lt;SPAN&gt;csapi-inventory API&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;any idea?&lt;/SPAN&gt;&lt;/P&gt;</description>
      <pubDate>Mon, 18 Jan 2021 13:24:01 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/what-values-for-auth-url/m-p/4274501#M780</guid>
      <dc:creator>mcarassale</dc:creator>
      <dc:date>2021-01-18T13:24:01Z</dc:date>
    </item>
  </channel>
</rss>

