How to connect to Eduroam wifi?

I have an ESP8266 board and want to connect it to wifi. It works with usual home wifi, but I can't get it to work in any way with eduroam (university wifi).
I tried this code and pretty much everything else I could find online, but it always fails to connect and gets stuck in this loop:

while (WiFi.status() != WL_CONNECTED) {
    delay(500);
    Serial.print(".");
}

I know that to connect to my eduroam no certificate is needed, EAP method is PEAP and authentication method is MSCHAPV2.

Any kind of help would be greatly appreciated!