Controllerless Networks

 View Only
  • 1.  IAP external CP - redirection url not working

    Posted Feb 03, 2020 07:03 PM

    Hi all,

    I am trying to setup on IAP guest SSID with external CP using "Auth text".

    Everything works fine except redirecting to "Welcome page". Basically after clicking accept term and condition button I am getting information page that I am able to browse internet now and in few seconds I'll be redirected to home page.

    But no redirection will happend. Here is setup of my external CP profile:

    Name :CP_ext
    Server :cptest.server.com
    Port :80
    Url :/
    Auth Text :CP-authenticated
    Redirect Url : http://www.google.com
    Server Fail Throuth :Enable
    Disable Auto Whitelist :Disable
    Use HTTPs :No
    Server Offload :No
    Prevent Frame Overlay :Disable
    In Used :Yes
    Redirect Mode :No
    Switch IP :No

     

    Not sure if parameter "Redirect Mode :" should be "Yes" instead of "No".

    User is of course in post-auth role where everything is already permitted.

     

    Not sure, what I am doing wrong. Do you have s some idea, please? I am using version 8.6.0.0.

     

    THX



  • 2.  RE: IAP external CP - redirection url not working

    Posted Feb 05, 2020 04:53 AM

    I have not seen the option Redirect Mode before, neither is it in my IAP or the documentation. Also, can you try with a different version (8.6.0.2, or the latest 8.5 release)?



  • 3.  RE: IAP external CP - redirection url not working

    Posted Feb 12, 2020 12:10 AM

    hi Jozef,

     

    something which worked for me in the past was to set the redirect URL in the CP page like this:

     

    <!doctype html>
    <html lang="de">
     <head>
     <meta charset="utf-8">
     <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <title>External Captive Portal with Username</title>
     </head>
     <body>
     <form method="POST" action="https://securelogin.arubanetworks.com/swarm.cgi">
     <input type="hidden" name="cmd" value="authenticate" />
     <input type="hidden" name="user" id="user" value="test" />
     <input type="hidden" name="password" id="password" value="test" />
     <input type="hidden" name="url" id="url" value="https://www.flomain.de" />
     <input type="submit" value="Login"/>
     </form>
     </body>
    </html>

     the "url" parameter is the redirect URL. You might try this. 

     

    BR

    Florian