<?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: Custom Captive Portal Page in Automation/API Discussions</title>
    <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-captive-portal-page/m-p/44213#M998</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using 6.1.X (and probably some older versions), there is a way.&amp;nbsp; This doesn't work under 7 at this time, though.&amp;nbsp; (I was here looking for help with 7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you export the captive portal comfort page, then edit it, you'll find a tag called &amp;lt;pan_form/&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace that tag with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;form name="login2" id="login_form2" method="post"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type='hidden' name="inputStr" value="foo"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type='hidden' name="escapeUser" value="bar"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type='hidden' name='user' value='portaluser'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type='hidden' name='passwd' value='password'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;div class="buttonWrapper"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input class="buttonFixed" type="submit" id="submit" name="ok" value="Login" onClick="document.getElementById('taLogin').innerHTML = '';"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Import the resulting form, and you should be good to go, aside from customizing the page to look the way you want, and (of course) you will &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;need a local user named "portaluser" with the password "password". &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'm not certain if all the inputs need to be used, but do know that it works like this.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Fri, 19 Jun 2015 12:19:28 GMT</pubDate>
    <dc:creator>paultaylor</dc:creator>
    <dc:date>2015-06-19T12:19:28Z</dc:date>
    <item>
      <title>Custom Captive Portal Page</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-captive-portal-page/m-p/44212#M997</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;&lt;BR /&gt;I am creating a custom captive portal page.&amp;nbsp; As part of my page, I would like to pass the username and password as hidden values so that all a guest user would need to do is to click on the button to accept the terms and authentication to occur with the variables that will be passed along. Is something like this possible?&amp;nbsp; If it is, are there any examples&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Tue, 06 May 2014 20:50:14 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-captive-portal-page/m-p/44212#M997</guid>
      <dc:creator>obwalker</dc:creator>
      <dc:date>2014-05-06T20:50:14Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Captive Portal Page</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-captive-portal-page/m-p/44213#M998</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;If you are using 6.1.X (and probably some older versions), there is a way.&amp;nbsp; This doesn't work under 7 at this time, though.&amp;nbsp; (I was here looking for help with 7)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;If you export the captive portal comfort page, then edit it, you'll find a tag called &amp;lt;pan_form/&amp;gt;.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Replace that tag with this:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&amp;lt;form name="login2" id="login_form2" method="post"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type='hidden' name="inputStr" value="foo"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type='hidden' name="escapeUser" value="bar"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type='hidden' name='user' value='portaluser'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input type='hidden' name='passwd' value='password'&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;div class="buttonWrapper"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;input class="buttonFixed" type="submit" id="submit" name="ok" value="Login" onClick="document.getElementById('taLogin').innerHTML = '';"&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 13.3333330154419px;"&gt;Import the resulting form, and you should be good to go, aside from customizing the page to look the way you want, and (of course) you will &lt;/SPAN&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;need a local user named "portaluser" with the password "password". &lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="font-size: 10pt; line-height: 1.5em;"&gt;I'm not certain if all the inputs need to be used, but do know that it works like this.&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Fri, 19 Jun 2015 12:19:28 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-captive-portal-page/m-p/44213#M998</guid>
      <dc:creator>paultaylor</dc:creator>
      <dc:date>2015-06-19T12:19:28Z</dc:date>
    </item>
    <item>
      <title>Re: Custom Captive Portal Page</title>
      <link>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-captive-portal-page/m-p/44214#M999</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Support got back with me.&amp;nbsp; One line from the above that worked with 6.1.4 seems to break 7.&amp;nbsp; The following form code works in v 7.0.0:&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3b3b3b;"&gt;&amp;lt;form name="login2" id="login_form2" method="post"&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3b3b3b;"&gt;&amp;nbsp; &amp;lt;input type='hidden' name="escapeUser" value="bar"&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3b3b3b;"&gt;&amp;nbsp; &amp;lt;input type='hidden' name='user' value='portaluser'&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3b3b3b;"&gt;&amp;nbsp; &amp;lt;input type='hidden' name='passwd' value='password'&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3b3b3b;"&gt;&amp;nbsp; &amp;lt;div class="buttonWrapper"&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3b3b3b;"&gt;&amp;nbsp; &amp;lt;input class="buttonFixed" type="submit" id="submit" name="ok" value="Login" onClick="document.getElementById('taLogin').innerHTML = '';"&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3b3b3b;"&gt;&amp;nbsp; &amp;lt;/div&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3b3b3b;"&gt;&amp;lt;/form&amp;gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3b3b3b;"&gt;&lt;/P&gt;&lt;P style="font-size: 13px; font-family: 'Helvetica Neue', Helvetica, Arial, 'Lucida Grande', sans-serif; color: #3b3b3b;"&gt;We found that this works as well with 6.1.4, so we're moving to this as our standard captive portal config.&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Wed, 24 Jun 2015 14:43:13 GMT</pubDate>
      <guid>https://live.paloaltonetworks.com/t5/automation-api-discussions/custom-captive-portal-page/m-p/44214#M999</guid>
      <dc:creator>paultaylor</dc:creator>
      <dc:date>2015-06-24T14:43:13Z</dc:date>
    </item>
  </channel>
</rss>

