calcom / docker

The Docker configuration for Cal.com is an effort powered by people within the community. Cal.com, Inc. does not provide official support for Docker, but we will accept fixes and documentation. Use at your own risk.
MIT License
662 stars 344 forks source link

Failing to get google calendar work in selfhosted calcom #253

Closed buzzard10 closed 1 year ago

buzzard10 commented 1 year ago

Hello :) I'm really thankful for this not small piece of software! It's really useful! I've manage to make it work on my server, but i have issue with one thing - google calendar integration.

I'm using for work microsoft office calendar and for private things google calendar. I would like to connect them both to calcom. I would like calcom to check my availability in both services. As far I've managed to setup microsoft office calendar, i have problems with google calendar.

Unfortunately, after all these steps it's not working. After i'm trying to go to Apps > Installed i have only loading screen: image

krumware commented 1 year ago

can you please provide a de-identified version of your env variable for the calendar?

buzzard10 commented 1 year ago

@krumware I've simply add keys in calcom admin settings, should i add this in .env? If so, can you give me proper json array with proper params for that?

It'll work in way which will check availability in my private calendars as well? :)

krumware commented 1 year ago

I've had to add the GOOGLE_API_CREDENTIALS={"web":{"client_id":"... after following the cal.com instructions, to have the google calendar options to show. Give it a shot and let me know if that helps it on your end!

(I believe there is logic in the database seeding which requires this)

buzzard10 commented 1 year ago

@krumware Oh Man! You saved my day!!! Thank you very much!!!!

Now i can see all my private calendars! So if i check one of them they'll be taken into consideration while checking my availability? :D

krumware commented 1 year ago

Awesome, glad it helped!