WiFi isn't working on Uno WiFi rev 2

hi mate,
I believe you need to add code to Wifi.Begin and get the wifi password and ssid it should connect. Here is a like to a form similar.

Good luck!