<?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: Pxgrid 2.0 API - AccountCreate Authentication failing in Network Access Control</title>
    <link>https://community.cisco.com/t5/network-access-control/pxgrid-2-0-api-accountcreate-authentication-failing/m-p/3754504#M494678</link>
    <description>&lt;P&gt;I am trying to get this working for LiveAction in ISE 2.1.&amp;nbsp; I am trying to do the AccountCreate function but I keep getting 401 Unauthorized error.&amp;nbsp; The AccountCreate is not supposed to require authorization.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following in Postman:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 745px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/24931i87941D0440214A5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 451px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/24932i212D5C6F8DE7F1B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting this back in the body of the response:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h1&amp;gt;HTTP Status 401 - Full authentication is required to access this resource&amp;lt;/h1&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="line"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b&amp;gt;type&amp;lt;/b&amp;gt; Status report&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b&amp;gt;message&amp;lt;/b&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;u&amp;gt;Full authentication is required to access this resource&amp;lt;/u&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b&amp;gt;description&amp;lt;/b&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;u&amp;gt;This request requires HTTP authentication.&amp;lt;/u&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;hr class="line"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h3&amp;gt;&amp;lt;/h3&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have password based accounts creation enabled.&amp;nbsp; What am I missing?&lt;/P&gt;</description>
    <pubDate>Wed, 28 Nov 2018 16:36:50 GMT</pubDate>
    <dc:creator>paul</dc:creator>
    <dc:date>2018-11-28T16:36:50Z</dc:date>
    <item>
      <title>Pxgrid 2.0 API - AccountCreate Authentication failing</title>
      <link>https://community.cisco.com/t5/network-access-control/pxgrid-2-0-api-accountcreate-authentication-failing/m-p/3696543#M494676</link>
      <description>&lt;P&gt;Hello Team,&lt;/P&gt;
&lt;P&gt;I wanted to use a new API to create pxgrid consumer consuming MNT session data:&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/cisco-pxgrid/pxgrid-rest-ws/wiki/pxGrid-Consumer" target="_blank"&gt;https://github.com/cisco-pxgrid/pxgrid-rest-ws/wiki/pxGrid-Consumer&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;I do not really understand this documentation: how to authenticate.&lt;/P&gt;
&lt;P&gt;How exactly should i construct this header:&lt;/P&gt;
&lt;PRE style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; margin-top: 0px; margin-bottom: 16px; word-wrap: normal; padding: 16px; overflow: auto; line-height: 1.45; background-color: #f6f8fa; border-radius: 3px; color: #24292e; font-style: normal; font-variant-ligatures: normal; font-variant-caps: normal; font-weight: 400; letter-spacing: normal; orphans: 2; text-align: start; text-indent: 0px; text-transform: none; widows: 2; word-spacing: 0px; -webkit-text-stroke-width: 0px; text-decoration-style: initial; text-decoration-color: initial;"&gt;&lt;CODE style="box-sizing: border-box; font-family: SFMono-Regular, Consolas, 'Liberation Mono', Menlo, Courier, monospace; font-size: 13.6px; padding: 0px; margin: 0px; background: transparent; border-radius: 3px; word-break: normal; white-space: pre; border: 0px; display: inline; overflow: visible; line-height: inherit; word-wrap: normal;"&gt;Authorization: Basic [nodeName]:[password if password-based authentication, otherwise empty string]&lt;/CODE&gt;&lt;/PRE&gt;
&lt;P&gt;What is nodeName ? How should i get the password ? Should not the password be received as a result of AccountCreate call (while this is the first step at the same time) ? Chicken and egg problem ?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When trying to use basic http auth for admin or admin_ers (those are working fine for all other ERS API calls)&lt;/P&gt;
&lt;P&gt;I do receive:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-08-28 at 17.21.39.png" style="width: 999px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/17627i55B66A5DB4628AE3/image-size/large?v=v2&amp;amp;px=999" role="button" title="Screen Shot 2018-08-28 at 17.21.39.png" alt="Screen Shot 2018-08-28 at 17.21.39.png" /&gt;&lt;/span&gt;Password auth enabled in ISE/pxgrid.&lt;/P&gt;
&lt;P&gt;Could you please help here ?&lt;/P&gt;
&lt;P&gt;Thanks,&lt;/P&gt;
&lt;P&gt;Michal&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;UPDATE: OK, got it solved, AccountCreate role does not require authentication and the header should not be attached at all, thanks !&lt;/P&gt;</description>
      <pubDate>Tue, 28 Aug 2018 20:31:02 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/pxgrid-2-0-api-accountcreate-authentication-failing/m-p/3696543#M494676</guid>
      <dc:creator>Michal Garcarz</dc:creator>
      <dc:date>2018-08-28T20:31:02Z</dc:date>
    </item>
    <item>
      <title>Re: Pxgrid 2.0 API - AccountCreate Authentication failing</title>
      <link>https://community.cisco.com/t5/network-access-control/pxgrid-2-0-api-accountcreate-authentication-failing/m-p/3697545#M494677</link>
      <description>&lt;P&gt;Please note that the pxGrid API is totally different from ISE ERS API.&lt;/P&gt;
&lt;P&gt;It says under the section "pxGrid account authentication",&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&lt;EM&gt;Password-based authentication requires AccountCreate first to obtain a password, and then perform AccountActivate using the credentials obtained.&lt;/EM&gt;&lt;/P&gt;
&lt;P&gt;...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;For example,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;curl -X POST -k -H 'Content-Type: application/json' -H 'Accept: application/json' -i 'https://myISE:8910/pxgrid/control/AccountCreate' --data '{&lt;BR /&gt; "nodeName":"myTestNodeName1"&lt;BR /&gt;}'&lt;/P&gt;</description>
      <pubDate>Thu, 30 Aug 2018 04:28:19 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/pxgrid-2-0-api-accountcreate-authentication-failing/m-p/3697545#M494677</guid>
      <dc:creator>hslai</dc:creator>
      <dc:date>2018-08-30T04:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Pxgrid 2.0 API - AccountCreate Authentication failing</title>
      <link>https://community.cisco.com/t5/network-access-control/pxgrid-2-0-api-accountcreate-authentication-failing/m-p/3754504#M494678</link>
      <description>&lt;P&gt;I am trying to get this working for LiveAction in ISE 2.1.&amp;nbsp; I am trying to do the AccountCreate function but I keep getting 401 Unauthorized error.&amp;nbsp; The AccountCreate is not supposed to require authorization.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have the following in Postman:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 745px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/24931i87941D0440214A5F/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.JPG" style="width: 451px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/24932i212D5C6F8DE7F1B8/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.JPG" alt="Capture.JPG" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am getting this back in the body of the response:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;lt;body&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h1&amp;gt;HTTP Status 401 - Full authentication is required to access this resource&amp;lt;/h1&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;div class="line"&amp;gt;&amp;lt;/div&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b&amp;gt;type&amp;lt;/b&amp;gt; Status report&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b&amp;gt;message&amp;lt;/b&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;u&amp;gt;Full authentication is required to access this resource&amp;lt;/u&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;b&amp;gt;description&amp;lt;/b&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;u&amp;gt;This request requires HTTP authentication.&amp;lt;/u&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/p&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;hr class="line"&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;h3&amp;gt;&amp;lt;/h3&amp;gt;&lt;BR /&gt;&amp;nbsp;&amp;nbsp;&amp;nbsp; &amp;lt;/body&amp;gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I have password based accounts creation enabled.&amp;nbsp; What am I missing?&lt;/P&gt;</description>
      <pubDate>Wed, 28 Nov 2018 16:36:50 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/pxgrid-2-0-api-accountcreate-authentication-failing/m-p/3754504#M494678</guid>
      <dc:creator>paul</dc:creator>
      <dc:date>2018-11-28T16:36:50Z</dc:date>
    </item>
    <item>
      <title>Re: Pxgrid 2.0 API - AccountCreate Authentication failing</title>
      <link>https://community.cisco.com/t5/network-access-control/pxgrid-2-0-api-accountcreate-authentication-failing/m-p/3760619#M494679</link>
      <description>&lt;P&gt;Hi Paul,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yep, that is correct, no authentication, it looks perfectly fine, i have the same and it's working fine:&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Screen Shot 2018-12-10 at 16.29.26.png" style="width: 736px;"&gt;&lt;img src="https://community.cisco.com/t5/image/serverpage/image-id/25596i28F612D814ADE4AD/image-dimensions/736x375?v=v2" width="736" height="375" role="button" title="Screen Shot 2018-12-10 at 16.29.26.png" alt="Screen Shot 2018-12-10 at 16.29.26.png" /&gt;&lt;/span&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I do believe you might be using too old version of ISE (2.1) where that API was not yet really there, i remember to have some challenges in 2.3 - upgraded to 2.4 and have it working fine.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;Michal&lt;/P&gt;</description>
      <pubDate>Mon, 10 Dec 2018 15:30:09 GMT</pubDate>
      <guid>https://community.cisco.com/t5/network-access-control/pxgrid-2-0-api-accountcreate-authentication-failing/m-p/3760619#M494679</guid>
      <dc:creator>Michal Garcarz</dc:creator>
      <dc:date>2018-12-10T15:30:09Z</dc:date>
    </item>
  </channel>
</rss>

