mirror of
https://github.com/tzapu/WiFiManager.git
synced 2026-04-27 09:05:56 +03:00
[GH-ISSUE #1576] Question: Authentication on Portal #1346
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#1346
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 @Catta1997 on GitHub (Mar 24, 2023).
Original GitHub issue: https://github.com/tzapu/WiFiManager/issues/1576
Is possible to put an authentication to access to the config portal? I do not want that anyone can configure my ESP but at the same time I want the portal.
Or do not have portal on localIP, I mean:
@Bighoneypot commented on GitHub (Mar 29, 2023):
Dear @Catta1997 you need to enable authenticate in your firmware.
Authenticate is present in WiFiManager.
// bool authenticate(const char * username, const char * password);
// bool authenticateDigest(const String& username, const String& H1);
// void requestAuthentication(HTTPAuthMethod mode = BASIC_AUTH, const char* realm = NULL, const String& authFailMsg = String("") );
default is admin, 12345
@Catta1997 commented on GitHub (Mar 29, 2023):
ohhhh, thanks a lot
@Bighoneypot commented on GitHub (Mar 29, 2023):
@Catta1997 UP ;-)
@tablatronix commented on GitHub (Mar 29, 2023):
Yeah I left that in to test, I think it does not work with captive portals hence why it is not enabled.
It might be better to add plain http auth form
@Catta1997 commented on GitHub (Mar 30, 2023):
HI
it work form me if I visit
192.168.4.1or local IP, what you mean with "not work with captive portals"?yeah but I do not know html so I do not know how to do a plain http auth .
@Bighoneypot commented on GitHub (Mar 30, 2023):
Can you share picture and comment it? I need to understand
@Catta1997 commented on GitHub (Mar 30, 2023):
Picture of how auth pop up for me?
@tablatronix commented on GitHub (Mar 30, 2023):
Captive portal is the sandboxed webpage that automaticallty pops up
@Catta1997 commented on GitHub (Mar 31, 2023):
Ohh thanks, but it do what I need: it ask for an authentication. is un-safe the actual method?