Thursday, July 28, 2016

CalDAV server can't log into Google with iCal

I was trying to add Google account in iCal so that iCal will synchronize events to my Google account but I got the error message "iCal found a CalDAV server but couldn't log in with the user name 'myuse...@gmail.com'. Make sure the user name and password you entered are correct, then try again.". I did verify the password and it was correct.

Then, when i checked my email, Google had just sent me one to tell me that it had blocked an app from logging into my Google account because it used less secured method. It asked me if I want to allow access to the app and then i clicked on the Allow Access button and it redirected me to this page https://www.google.com/settings/security/lesssecureapps?rfn=27&rfnc=1&asae=2&anexp=lbe2-R1_C I checked "Turn On" for "Access for less secure apps" optionbox.