External captive portal from 2.6 to 3.2 version
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.