<?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: Unauthorized response to pxGrid getSessions API in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/unauthorized-response-to-pxgrid-getsessions-api/m-p/3797110#M485463</link>
    <description>&lt;P&gt;Hey Maria,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is recommended to use the Eclipse development platform or other platform for pxGrid 2.0 development, this way you can download all the pxGrid coding examples directly and work with password-based or certificate based authentication. please see: &lt;A href="https://community.cisco.com/www.cisco.com/go/pxgridpartner" target="_self"&gt;www.cisco.com/go/pxgridpartner&lt;/A&gt; for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With that said, there are a number of steps that are required using Chrome postman, please see Testing and Configuration guide for pxGrid 2.0:&amp;nbsp;&lt;A href="https://d1nmyq4gcgsfi5.cloudfront.net/fileMedia/ea02ce59-2668-441a-601d-0c6ca59d8bf4/CiscopxGrid20_je.pdf" target="_self"&gt;https://d1nmyq4gcgsfi5.cloudfront.net/fileMedia/ea02ce59-2668-441a-601d-0c6ca59d8bf4/CiscopxGrid20_je.pdf&lt;/A&gt;&amp;nbsp;, Illustrating pxGrid Client Flow using Chrome Postman.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This includes: Creating the Account, Activating the Account, Performing Services Lookup for topic, Obtaining access secret from node publishing the service and Websocket REST API query script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have additional questions, please unicast me directly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;jeppich@cisco.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 07 Feb 2019 18:51:32 GMT</pubDate>
    <dc:creator>jeppich</dc:creator>
    <dc:date>2019-02-07T18:51:32Z</dc:date>
    <item>
      <title>Unauthorized response to pxGrid getSessions API</title>
      <link>https://community.cisco.com/t5/network-access-control/unauthorized-response-to-pxgrid-getsessions-api/m-p/3796061#M485457</link>
      <description>&lt;P&gt;&lt;SPAN&gt;Hi, &lt;/SPAN&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I've created a pxGrid client account with a certificate authentication as described &lt;/SPAN&gt;&lt;A href="https://developer.cisco.com/docs/pxgrid/#!technical-overview/screen-capture-for-using-samples" target="_self"&gt;here&lt;/A&gt;. (I don't have username &amp;amp; password)&lt;/P&gt;&lt;P&gt;I'm trying to access the pxGrid API so&amp;nbsp;&lt;SPAN&gt;I've set up the username as the node name and the password as the secret key.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;&lt;DIV&gt;&lt;SPAN&gt;(As written in the documentation -&amp;nbsp;&lt;EM&gt;In the case of ISE, the secret is used as the pasword of HTTP Basic Auth.&lt;/EM&gt;)&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;SPAN&gt;When I make a POST request to:&amp;nbsp;&lt;STRONG&gt;https://&amp;nbsp;[ise-host1] :8910/pxgrid/mnt/sd/getSessions&amp;nbsp;&lt;/STRONG&gt;- I get a 200 response status.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="mnt_getSessions.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/29419iC3594B6A6E86C8CF/image-size/large?v=v2&amp;amp;px=999" role="button" title="mnt_getSessions.PNG" alt="mnt_getSessions.PNG" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;However,&amp;nbsp;w&lt;SPAN&gt;&lt;SPAN&gt;hen I make a POST request&lt;/SPAN&gt;&lt;/SPAN&gt;&amp;nbsp;to:&amp;nbsp;&lt;STRONG&gt;https://[ise-host1]:8910/pxgrid/ise/session/getSessions&amp;nbsp;&lt;/STRONG&gt;&lt;SPAN&gt;- I get a 401 response status.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;DIV&gt;&lt;DIV&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="pxgrid_getSessions.PNG" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/29420i2815B5F43F8AE257/image-size/large?v=v2&amp;amp;px=999" role="button" title="pxgrid_getSessions.PNG" alt="pxgrid_getSessions.PNG" /&gt;&lt;/span&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;If I don't use a password as described below, I get the same result.&lt;PRE&gt;Authorization: Basic [nodeName]:[password if password-based authentication, otherwise empty string]&lt;/PRE&gt;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What is the authorization credentials I should use? Should they be different?&amp;nbsp;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;What am I missing?&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;Thanks,&lt;/DIV&gt;&lt;DIV&gt;Maria &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;/DIV&gt;&lt;/DIV&gt;</description>
      <pubDate>Wed, 06 Feb 2019 16:16:36 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/unauthorized-response-to-pxgrid-getsessions-api/m-p/3796061#M485457</guid>
      <dc:creator>Maria Gunko</dc:creator>
      <dc:date>2019-02-06T16:16:36Z</dc:date>
    </item>
    <item>
      <title>Re: Unauthorized response to pxGrid getSessions API</title>
      <link>https://community.cisco.com/t5/network-access-control/unauthorized-response-to-pxgrid-getsessions-api/m-p/3797110#M485463</link>
      <description>&lt;P&gt;Hey Maria,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;It is recommended to use the Eclipse development platform or other platform for pxGrid 2.0 development, this way you can download all the pxGrid coding examples directly and work with password-based or certificate based authentication. please see: &lt;A href="https://community.cisco.com/www.cisco.com/go/pxgridpartner" target="_self"&gt;www.cisco.com/go/pxgridpartner&lt;/A&gt; for more information.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;With that said, there are a number of steps that are required using Chrome postman, please see Testing and Configuration guide for pxGrid 2.0:&amp;nbsp;&lt;A href="https://d1nmyq4gcgsfi5.cloudfront.net/fileMedia/ea02ce59-2668-441a-601d-0c6ca59d8bf4/CiscopxGrid20_je.pdf" target="_self"&gt;https://d1nmyq4gcgsfi5.cloudfront.net/fileMedia/ea02ce59-2668-441a-601d-0c6ca59d8bf4/CiscopxGrid20_je.pdf&lt;/A&gt;&amp;nbsp;, Illustrating pxGrid Client Flow using Chrome Postman.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This includes: Creating the Account, Activating the Account, Performing Services Lookup for topic, Obtaining access secret from node publishing the service and Websocket REST API query script.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you have additional questions, please unicast me directly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;John&lt;/P&gt;
&lt;P&gt;jeppich@cisco.com&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 07 Feb 2019 18:51:32 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/unauthorized-response-to-pxgrid-getsessions-api/m-p/3797110#M485463</guid>
      <dc:creator>jeppich</dc:creator>
      <dc:date>2019-02-07T18:51:32Z</dc:date>
    </item>
  </channel>
</rss>

