[feature-request] WiFi Captive portal auto-login
What I'm proposing is to improve Sailfish users' experience when connecting to the internet through a captive portal WiFi hotspot.
How I propose we do this is:
- step 1 - to have an option, when on the wifi available networks screen, and you select a certain open network for connection, an option to set this network SSID has a captive portal authentication one,
- step 2 - in which case login credentials are requested, as if the network was not open. (which in reality is not)
- step 3 - Sailfish internally opens (and keeps it open) the captive portal authentication webpage,
- step 4 - Sailfish, through scrapping, detects the login fields and submit button on the internally open page,
- step 5 - Sailfish, automatically enters the given credentials and submits them to get proper access to the network
In case of being unsuccessfull which would be detected through failure to access some predictable web location (maybe a Jolla web-service), and only then, present the Sailfish user with the internally opened captive portal web page, for manual intervention.
If, even after manual intervention, the network access is still failing, disable that network connection, so that the user knows it is not actually connected to the network.
In case of successfull connection established the credentials should be saved, just like any other closed network, and in the future automatically go through the whole login process internally before considering the network as connected.
Conclusion: this would make the captive portal authentication transparent to the user, which would be very practical, instead of the current upractical behaviour of needing to open the browser (and keep it open) and loging in to the web page manually!
This is a very good idea.
richardski ( 2014-10-30 12:55:24 +0200 )editThank you, I thought it is so simple and practical that it should be easy to implement by Jolla, and would make the users of captive hotspots very happy
dsilveira ( 2014-10-30 18:35:05 +0200 )edit@dsilveira - In our office premises, food court provides a free public wi-fi service that also prompts to agree to their terms ( 'Agree' & 'I do not agree radio buttons') other than entering credentials. Just curious, how you imagine fields could be populated? BTW, didnt know the term 'captive portal' till sometime ago. So I looked upon wiki which says that in some cases even payment maybe required. Not sure, how it could be handled.
anandrkris ( 2014-12-10 15:39:10 +0200 )editthose cases you mention are rare, compared to login-only access, You usually pay for the login and that's it. But if there are a few more common cases than the one I'm describing, they could also easily be accomodated.
dsilveira ( 2014-12-17 03:14:27 +0200 )editThis would be nice to have. I am regularly encountering two captive portals, my school (where I am daily and have no idea why is there captive portal while everyone has the same username and password) and some buses (at least once in a month) which just wants me to click "I agree the terms and conditions".
The school captive portal is apparently also forgetting me very often and that is why I started googling if this was possible.
Mikaela ( 2015-01-20 10:16:45 +0200 )edit