Controllerless Networks

last person joined: 22 hours ago 

Instant Mode - the controllerless Wi-Fi solution that's easy to set up, is loaded with security and smarts, and won't break your budget
Expand all | Collapse all

External Captive Portal login url

This thread has been viewed 14 times
  • 1.  External Captive Portal login url

    Posted Jul 23, 2015 05:49 PM
    Hello,

    Trying to integrate instant with an external captive portal, what is the format of the http get to securelogin.arubanetworks.com to include user and password to instruct the AP to perform the radius auth. We are trying HTTPS://securelogin.arubanetworks.com/cgi-bin/login?username=XXX&password=XXX&cmd=authenticate .
    Sorry I'm new to Aruba, a guy told me we should do it via HTTP post, but we need to do it via HTTP get, how can we do it?


  • 2.  RE: External Captive Portal login url

    EMPLOYEE
    Posted Jul 23, 2015 08:48 PM

    Here are two barebones examples:

     

    1.  Instant External Captive Portal with just "Accept" button:  A user with "guest" as username and "guest" as password must be in the authentication server selected:

    <HTML>
      <form method="POST" ACTION="http(s)://securelogin.arubanetworks.com/swarm.cgi"> ## hostname must match certificate COMMON NAME 
        <input type="hidden" name="user" value="guest">
        <input type="hidden" name="password" value="guest">
        <input type="submit" name="Accept" value="authenticate">
      </form>
    </HTML>
    

    2.  Instant Captive Portal, username and password.  User must enter username and password and click on "Login" button.

    <HTML>
      <form method="POST" ACTION="http(s)://securelogin.arubanetworks.com/swarm.cgi"> ## hostname must match certificate COMMON NAME
            <input type="hidden" name="cmd" value="authenticate" />
    		User Name: <br/> <input type="text" name="user" id="user"/>
    		<br/>
    		Password: <br/> <input type="password" name="password" id="password"/>
    		<br/>
    	<input type="submit" value="Login"/>
      </form>
    </HTML>
    

     



  • 3.  RE: External Captive Portal login url
    Best Answer

    Posted Jul 24, 2015 11:48 AM

    Thanks Colin,

     

    We have found the problem, the parameter should be user and not username. In that case using the following HTTP Get it works HTTPS://securelogin.arubanetworks.com/cgi-bin/login?user=XXX&password=XXX&cmd=authenticate