Description
When using AC_AUTH_DIGEST with AC_AUTHSCOPE_PORTAL setting, it appears I can no longer access the _ac page. Deploy simple sketch below to reproduce the problem. When accessing the "_ac" page with a browser, keep getting the password prompt, but no matter what password is provided it is rejected.
#include <AutoConnect.h>
WebServer Server;
AutoConnect Portal(Server);
void initAutoConnect(){
AutoConnectConfig Config;
Config.auth = AC_AUTH_DIGEST;
Config.authScope = AC_AUTHSCOPE_PORTAL;
Config.username = "Foo";
Config.password = "Bar";
Config.autoReconnect = false;
Config.autoReset = true;
Config.autoRise = true;
Config.immediateStart = false;
Config.ota = AC_OTA_BUILTIN;
Config.autoSave = AC_SAVECREDENTIAL_AUTO;
Config.apid = "Hostname";
Config.hostName = Config.apid;
Config.ticker = true;
Config.tickerPort = LED_BUILTIN;
Config.tickerOn = LOW;
Config.menuItems = AC_MENUITEM_CONFIGNEW | AC_MENUITEM_DISCONNECT | AC_MENUITEM_RESET | AC_MENUITEM_UPDATE | AC_MENUITEM_HOME;
Portal.config(Config);
Portal.begin();
}
void setup() {
initAutoConnect();
}
void loop() {
Portal.handleClient();
}