On diymore WiFi Kit 32 ESP32 WiFi with OLED without extern antenna
When WiFi.begin(ssid, password); have never worked,
it may due to hardware problem of the onboard wifi antenna.
After putting a finger on the antenna board and reset : it’s connecting in less than 5 second.
you may use a alligator clip, or braze a wire instead of
Hope helping