07-23-2015 02:48 PM
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?
Solved! Go to Solution.
Re: External Captive Portal login url
07-23-2015 05: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>
*Answers and views expressed by me on this forum are my own and not necessarily the position of Aruba Networks or Hewlett Packard Enterprise.*
ArubaOS 8.5 User Guide
InstantOS 8.5 User Guide
Airheads Learning Videos
Aruba Central Documentation
ArubaOS Consolidated Release Notes
Aruba Technical Webinars
07-24-2015 08:48 AM
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