Skip to menu Skip to content Skip to search
The Spacewalkers Forum

Forum

You have to be logged in to ask a question
Question
Asked by VAA vaa
Express Mode
Asked on 13 March 2019 21 h 50 min

[RESOLVED] Captive portal

Trying to add captive portal support into our cloud wifi software starthotspot.com. We have resolved initial redirection and we get login page. However, we can not find any information which parameters should be posted back to the AP in order to authenticate a user through our radius servers.

Can we get a simple example showing POST or GET with username and password ? Thank you

Answer question
Your vote :
Rating : 0
RESOLVED
Answers
Answer by vaa
Answered on 16 March 2019 17 h 54 min

We have managed to integrate in Start Hotspot. Thank you.

Your vote :
Rating : 1
Answer by vaa
Answered on 14 March 2019 10 h 58 min

Thank you for your answer. This is all clear. We have http(s) redirection working. Just to note that our solution works with many other vendors.

What we need is a sample that is posted to the router after the redirection. It's a step 9 in your image.

For example, in case of internal portal there is a GET that sends username and passwword in order to authenticate

http://cportal.al-enterprise.com:8080/cgi-bin/wp_eag_portal_login.cgi?op_auth=login&username=" + username + "&password=" + newpwd + "&suc_url=http://cportal.al-enterprise.com:8080/internal_portal/portal_auth_suc.html&fail_url=http://cportal.al-enterprise.com:8080/internal_portal/portal_account_auth_fail.html

We need similar GET or POST where to send username and password to the AP in case of external captive portal.

Thank you

Your vote :
Rating : 0
Answer by ahbekka
Answered on 14 March 2019 10 h 45 min

Hi,

Interfacing with a 1/3 party Captive Portal, uses a standard approach of HTTP(s) redirection and Radius authentication as described in attached "call flow". May be you can have a look at it...

Attachments:
Your vote :
Rating : 0