Hi, I wanted something like this for the ESP32 board.
With some WEB Searches I got this Tutorial to work with an ESP32 board by replacing the ESP8266 Libraries with these ones
#include <DNSServer.h>//Local DNSserver used to serve the configuration portal ( https://github.com/zhouhan0126/DNSServer-esp32 )
#include <WebServer.h>//Local WebServer used to serve the configuration portal ( https://github.com/zhouhan0126/WebServer-esp32 )
#include <WiFiManager.h> // WiFi Configuration Magic ( https://github.com/zhouhan0126/WIFIMANAGER-ESP32 )