External captive portal from 2.6 to 3.2 version

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.

External captive portal from 2.6 to 3.2 version

This thread has been locked for further replies. You can start a new thread to share your ideas or ask questions.
External captive portal from 2.6 to 3.2 version
External captive portal from 2.6 to 3.2 version
2020-01-25 13:45:51 - last edited 2020-01-25 13:50:37
Model: EAP115  
Hardware Version: V2
Firmware Version: 2.1.0 Build 20180418 Rel. 74719

Hello, i'm upgrading to the last version of Omada controller.

Before, in version 2.6 i was using external captive portal without radius server following this instrunctions https://www.tp-link.com/de/support/faq/928/

 

The same api and method don't work now, i'd already tryng to change variables name and post communication like your new faq (https://www.tp-link.com/de/support/faq/2390/)

 

When we try internet access, the eap redirects us to:
http://webportal/?cid=xxx&ap=xxx&ssid=Free+Wi-Fi&rid=0&t=1579963416&site=Default&redirectUrl=http%3A%2F%2Fwww.msftconnecttest.com%2Fredirect


As you can see the names of the variables get are those of version 2.6.
At this point, we make a POST request to https://controller_ip:port/portal/radius/auth where we send the variables username and password (of the controller) and clientMac, ap, ssid, radioId and redirectUrl.
Once this is done, we receive this response:


HTTP/1.1 302 Found Expires: Thu, 01 Jan 1970 00:00:00 GMT Cache-Control: no-cache Pragma: no-cache X-Frame-Options: SAMEORIGIN Set-Cookie: TPEAP_SESSIONID=c5dbf99b-22ec-45f3-9bf6-5dbea8247202; Path=/; HttpOnly Location: https://controller_ip:8043/portal/radius/null?target=172.31.38.18&targetPort=8043&clientMac=F4-D1-08-BD-4E-9E&clientIp=null&radiusServerIp=null&ap=50-C7-BF-09-3C-8C&ssid=MySSID&radioId=0&redirectUrl=http%3A%2F%2Fwww.msftconnecttest.com%2Fredirect&errorHint=Invalid+request+parameter. Content-Length: 0

 

At this point the connection is not unlocked and we do not know what to do.

 

  0      
  0      
#1
Options
1 Reply
Re:External captive portal from 2.6 to 3.2 version
2020-02-04 13:14:21

Hi @Hotspot 

 

If you are refering the FAQ928, I think you are using the External Portal Server. In this situation, after you upgrade the Controller, you should refer to the FAQ2274:

https://www.tp-link.com/en/support/faq/2274/

Please try it. If you still have questions about it, feel free to post here.

  0  
  0  
#2
Options