Wireless Access

last person joined: 18 hours ago 

Access network design for branch, remote, outdoor, and campus locations with HPE Aruba Networking access points and mobility controllers.
Expand all | Collapse all

Custom Controller Captive Portal Problem

This thread has been viewed 0 times
  • 1.  Custom Controller Captive Portal Problem

    MVP
    Posted Apr 28, 2016 03:23 PM

    I have a customer who is trying to upload a custom captive portal page in the controller. The format and look of the page is good, but cannot get the submit buttom to submit the page and go to welcome page. The page looks like this:

     

    customer_cp_page.png

    The goal is to redirect guest to this page (working fine), have them click Log In, and then redirect them to the welcome page.

     

    it appears the login is not working properly, if you click the Log In button, it just goes to a blank page and their user role is not changed from pre-auth to post-auth. 

     

    The HTML code for the Log In is below:

     

    <form action="login" id="guestform" emweb_name="captive_portal_guest" method="post" title="Form used by guest users to login">

    <div id="emailbox">
    <input id="email" name="email" type="hidden" class="text" value="guest@email.com" accesskey="e" autocomplete="off">
    </div>

    <input type="hidden" name="cmd" value="authenticate">
    <input type="submit" name="Login" value="Log In" class="button">
    </form>
    </div>

     

    I tried unchecking both guest login and user login, as this is only an accept button, but that did not work. I tried changing it to guest login and force the value of "guest@email.com", but that doens't seem to work either. 

     

    I know it's either my HTML code or the configuration in the CP profile, but don't know which or both. I've gone through an Aruba document explaining the configuration, but can't see to get it to work correctly.

     

    Thanks.

     



  • 2.  RE: Custom Controller Captive Portal Problem
    Best Answer

    EMPLOYEE
    Posted Apr 28, 2016 03:33 PM

    You are missing something like this:

     

    <FORM method="post" autocomplete="off" ACTION="/auth/index.html/u">

    http://www.arubanetworks.com/techdocs/ArubaOS_6.4.4.x_WebHelp/Web_Help_Index.htm#ArubaFrameStyles/Captive_Portal/Internal_Captive_Portal.htm?Highlight=input



  • 3.  RE: Custom Controller Captive Portal Problem

    MVP
    Posted May 06, 2016 08:00 AM
    That was the final piece. Thanks!