Having the same issue on my galaxy S7 over the last couple weeks. It auto connects to my home wifi, but can't connect to my secured wifi at work, which I have the correct password for, and no public networks either. I've reset my network settings, had my phone forget my work wifi and reconnect...