<?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: get token api returning 401 unauthorized in Services Discussions</title>
    <link>https://community.cisco.com/t5/services-discussions/get-token-api-returning-401-unauthorized/m-p/5258025#M1178</link>
    <description>&lt;P class="mb-2 last:mb-0"&gt;Double check that your&amp;nbsp;&lt;CODE&gt;client_id&lt;/CODE&gt;&amp;nbsp;and&amp;nbsp;&lt;CODE&gt;client_secret&lt;/CODE&gt;&amp;nbsp;are correctly copied from the Cisco API console, also verify that the client ID you are using is provisioned and has the correct permissions to access the token endpoint.&lt;/P&gt;
&lt;P class="mb-2 last:mb-0"&gt;You might need to reach out to the team directly to confirm this.&lt;/P&gt;</description>
    <pubDate>Fri, 07 Feb 2025 14:39:54 GMT</pubDate>
    <dc:creator>bigevilbeard</dc:creator>
    <dc:date>2025-02-07T14:39:54Z</dc:date>
    <item>
      <title>get token api returning 401 unauthorized</title>
      <link>https://community.cisco.com/t5/services-discussions/get-token-api-returning-401-unauthorized/m-p/5257557#M1176</link>
      <description>&lt;P&gt;&lt;SPAN&gt;&lt;A href="https://cloudsso2.cisco.com/as/token.oauth2?grant_type=client_credentials&amp;amp;client_id=&amp;lt;id&amp;gt;&amp;amp;client_secret=&amp;lt;secret&amp;gt;" target="_blank"&gt;https://cloudsso2.cisco.com/as/token.oauth2?grant_type=client_credentials&amp;amp;client_id=&amp;lt;id&amp;gt;&amp;amp;client_secret=&amp;lt;secret&amp;gt;&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;provisioned client id in following link:&amp;nbsp;&lt;A href="https://apiconsole.cisco.com/apps/myapps" target="_blank"&gt;https://apiconsole.cisco.com/apps/myapps&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;return:&lt;/P&gt;
&lt;DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;{&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;&amp;nbsp; &amp;nbsp; &lt;/SPAN&gt;&lt;SPAN&gt;"error"&lt;/SPAN&gt;&lt;SPAN&gt;: &lt;/SPAN&gt;&lt;SPAN&gt;"unauthorized_client"&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;}&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV&gt;&lt;SPAN&gt;400 bad request&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Thu, 06 Feb 2025 13:48:52 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/get-token-api-returning-401-unauthorized/m-p/5257557#M1176</guid>
      <dc:creator>bjatti</dc:creator>
      <dc:date>2025-02-06T13:48:52Z</dc:date>
    </item>
    <item>
      <title>Re: get token api returning 401 unauthorized</title>
      <link>https://community.cisco.com/t5/services-discussions/get-token-api-returning-401-unauthorized/m-p/5258025#M1178</link>
      <description>&lt;P class="mb-2 last:mb-0"&gt;Double check that your&amp;nbsp;&lt;CODE&gt;client_id&lt;/CODE&gt;&amp;nbsp;and&amp;nbsp;&lt;CODE&gt;client_secret&lt;/CODE&gt;&amp;nbsp;are correctly copied from the Cisco API console, also verify that the client ID you are using is provisioned and has the correct permissions to access the token endpoint.&lt;/P&gt;
&lt;P class="mb-2 last:mb-0"&gt;You might need to reach out to the team directly to confirm this.&lt;/P&gt;</description>
      <pubDate>Fri, 07 Feb 2025 14:39:54 GMT</pubDate>
      <guid>https://community.cisco.com/t5/services-discussions/get-token-api-returning-401-unauthorized/m-p/5258025#M1178</guid>
      <dc:creator>bigevilbeard</dc:creator>
      <dc:date>2025-02-07T14:39:54Z</dc:date>
    </item>
  </channel>
</rss>

