elementary / calendar

Desktop calendar app designed for elementary OS
https://elementary.io
GNU General Public License v3.0
130 stars 39 forks source link

Impossible to sync a google calendar with custom enterprise domain #388

Open 4sStylZ opened 5 years ago

4sStylZ commented 5 years ago

Hi,

I want to try the calendar app from elementary with my enterprise calendar hosted by google but with a custom domain.

I get some http 401 error when trying to sync it.

--- Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/72376723-impossible-to-sync-a-google-calendar-with-custom-enterprise-domain?utm_campaign=plugin&utm_content=tracker%2F60388692&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F60388692&utm_medium=issues&utm_source=github).
luizguilhermefr commented 5 years ago

Happening to me as well.

I also use 2FA on my Google account. Perhaps does this influence?

luizguilhermefr commented 5 years ago

I think that an integrated browser sign in would be a better and most reliable approach.

arkraft commented 5 years ago

I have a workaround for this. Calendar uses EDS as its backend. I installed Evolution, set up the Google calendar there and i can see all the events in my Elementary Calendar now.

luizguilhermefr commented 5 years ago

@arkraft You're a genius

igalic commented 5 years ago

I have now done this exact same work-around to connect to my Fastmail calendar, and it worked out fine.

My calendar already showed up in Evolution, but the password was "wrong" (i.e.: non-existent) I was simply never prompted for a password by Maya.

4sStylZ commented 5 years ago

I will not installing a whole software for correcting the issue but nice suggestion for installing Evolution.

Thank you

BTW, yes, we have 2 factor auth on this domain.

igalic commented 5 years ago

i did uninstall it afterwards:

% sudo apt purge evolution
% sudo apt autoremove
jcpoyser commented 5 years ago

I was having the 401 error too until I found this solution via Google search: https://thealarmclocksixam.com/2018/03/11/sync-elementary-os-calendar-with-your-google-calendar/

voila - no more 401 error