mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 00:55:52 +03:00
[GH-ISSUE #1513] Is there a way to make the WiFiManager work with the corporate WiFi networks? #1289
Labels
No labels
📶 WiFi
🕸️ HTTP
Branch
DEV Help Wanted
Discussion
Documentation
ESP32
Example
Good First Issue
Hotfix
In Progress
Incomplete
Needs Feeback
Priority
QA
Question
Task
Upstream/Dependancy
bug
duplicate
enhancement
invalid
pull-request
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
starred/WiFiManager#1289
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @ateker01 on GitHub (Oct 24, 2022).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1513
Sorry if already asked - I spent quite a bit of time but could not find any related.
Is there a way to make the WiFiManager work with the corporate WiFi networks?
For example in the hotels, when you need to connect to the WiFi; there is no password but a redirected page where you enter your room number and last name... etc
Similarly with the corporate network, you enter a userid and password instead of the WiFi's password.
Is there such functionally with the WiFi Manager?
Thanks
@tablatronix commented on GitHub (Oct 24, 2022):
No, most are non standard captive portals
@mahboud commented on GitHub (Apr 1, 2023):
Here's an idea for getting around this issue. I don't know if it's possible.
After the ESP32 successfully gets on the WiFi, it should try to access a very simple webpage on the developer's site or any simple website. A good example is Apple's. That page would only return a single easy to check value, such as "success".
If when accessing that site, you get a "success", then the ESP32 is done.
If you get a network error, then the WiFi network is bad. You might have a WiFi network that isn't connected to the Internet, or other issues (but that is not the topic of this discussion).
If, however, you get an HTTP response back that contains HTML, then what would be cool is if the WiFiManager's web server either puts that HTML in a frame or replaces the contents of its main page, and basically becomes a relay for the web page that is being used to get further info from the user.
That way, the user sees whatever that challenge is, whether to enter an email or a hotel room number and a last name, or just pressing some "Connect" button. Hopefully the HTML could be kept in a state where the user's actions will go directly to the original webpage. Or the WifiManager can forward that input.
If this all happened over HTTPS, then this wouldn't work, but because of the nature of some of these pages, where they try to redirect you to their webpage, the simple ones are plain old HTTP and not HTTPS.
At this point I expect to hear "we've already thought of that and here's why it doesn't work!" I would think that this issue has been discussed countless times, given how these networks prevent us from deploying our projects on the huge number of free public networks that just have that one or two extra steps you need to go through to get a connection.
@adamsstephen commented on GitHub (Apr 1, 2023):
I don't know why I get dragged in to this.
@mahboud commented on GitHub (Apr 5, 2023):
Sorry @adamsstephen. You had suggested this: https://github.com/tzapu/WiFiManager/issues/481#issuecomment-485091696