Page 1 of 1

Connecting ESP32 to WiFi that requires username

Posted: Sun Apr 30, 2023 4:16 pm
by hnoronhaa
Hi!
Is there a way to connect the ESP32 to a WiFi network that is expecting a username and it's password?
Thank!
hna

Re: Connecting ESP32 to WiFi that requires username

Posted: Mon May 01, 2023 1:14 am
by ESP_Sprite
It depends. If it's using WPA Enterprise, then yes, just use the API for that. If it's using some sort of captive portal (you connect to an unsecured access point and it shows you a webpage with an username/password prompt), there's no real way aside from trying to figure out how to pass that webpage the right credentials using a http client, and how to do that depends on the specific software that runs that webpage.