cancel
Showing results for 
Search instead for 
Did you mean: 

http redirect parameters to authenticate a AP

http redirect parameters to authenticate a AP

annibal_abreu
New Contributor
http redirect parameters to authenticate a AP
1 ACCEPTED SOLUTION

samantha_lynn
Esteemed Contributor III

If you're still having issues with your CWP, it may be due to a known issue with the 1.1.x.x scope recently. I would recommend using a different IP scope for your CWP users while they pass through the CWP.

View solution in original post

4 REPLIES 4

samantha_lynn
Esteemed Contributor III

If you're still having issues with your CWP, it may be due to a known issue with the 1.1.x.x scope recently. I would recommend using a different IP scope for your CWP users while they pass through the CWP.

annibal_abreu
New Contributor

Hi,

thank you for your msg.

 

Let me try to explain.

Our captive portal for now is this one => https://fale.me/captive/teste/

 

When someone try to access the Wireless, they are redirect to this portal with a number of parameters in the URL like below:

 

https://fale.me/captive/teste/?url=E2B8F3578D88E9A53591BB4A9D91559BCD2511925520D2F59583C4C6533EC881EFA8EE55D2C4B2&ssid=Captive%5fVisitante&mac=9cd21eeb8849&autherr=0&Called-Station-Id=885bdd05db17&NAS-IP-Address=1.1.4.1&RADIUS-NAS-IP=10.3.1.142&Calling-Station-Id=9cd21eeb8849&STA-IP=10.150.1.67&NAS-ID=ESCPB-4A-AP02

 

Where is easy to see:

 

&ssid=Captive%5fVisitante

&mac=9cd21eeb8849

&autherr=0

&Called-Station-Id=885bdd05db17

&NAS-IP-Address=1.1.4.1

&RADIUS-NAS-IP=10.3.1.142

&Calling-Station-Id=9cd21eeb8849

&STA-IP=10.150.1.67

&NAS-ID=ESCPB-4A-AP02

 

The AP is set without password encryption as below

 

a2aab7ac5f6344308fc83b83e3643633_0690c000006VJd2AAG.png

We are trying to do a post with username and password like this:

 

<form class="login100-form validate-form flex-sb flex-w" i="" id="loginForm" action="http://1.1.4.1" method="POST">

          <span class="login100-form-title p-b-53">

            Seja bem-vindo. Faça login com:

          </span>           

            <input type="hidden" name="username" value="faleme">

            <input type="hidden" name="NAS-IP-Address" value="1.1.4.1">

            <input type="hidden" name="ssid" value="Captive_Visitante">

            <input type="hidden" name="Called-Station-Id" value="885bdd05db17">

            <input type="hidden" name="url" value="E2B8F3578D88E9A53591BB4A9D91559BCD2511925520D2F59583C4C6533EC881EFA8EE55D2C4B2">

           <input type="hidden" name="STA-IP" value="10.150.1.67">

           <input type="hidden" name="Calling-Station-Id" value="9cd21eeb8849">

           <input type="hidden" name="mac" value="9cd21eeb8849">

           <input type="hidden" name="password" value="faleme">

            <input type="hidden" name="autherr" value="0">

            <input type="hidden" name="NAS-ID" value="ESCPB-4A-AP02">

            <input type="hidden" name="RADIUS-NAS-IP" value="159.89.236.200">

          <input type="submit" class="btn btn-primary" style="margin:auto;" value="Continuar">

        </form>

 

But it still does not work.

What am I missing?

 

GeorgiaMason
Contributor II

When you say "post format", do you mean password? Is it giving you an error when you try to authenticate this way? You might also want to try running a client monitor to see what part of the authentication is failing, could help narrow things down.

annibal_abreu
New Contributor

Hi,

We have just set an external captive portal for Aerohive AP120.

We are getting the redirect to our landingpage with parameters in the url.

However, we are missing something, as our post is not getting accept by the AP in order to get authenticated.

What should be the post format?

 

GTM-P2G8KFN