<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0"><channel><title><![CDATA[trouble adding Google Calendar to Cal.com App Store]]></title><description><![CDATA[<p dir="auto">I tried following the <a href="https://cal.com/docs/introduction/quick-start/self-hosting/install-apps/google" target="_blank" rel="noopener noreferrer nofollow ugc">self-hosters instructions</a> to add Google Calendar to the app, but have run into an issue (error message: "<code>Google client_id missing</code>") that I think <em>might</em> be specific to the Cloudron setup. Ultimately, it looks like we need to add these two new environment variables:</p>
<pre><code>GOOGLE_API_CREDENTIALS={"web":{"client_id" ... }}
GOOGLE_LOGIN_ENABLED=true
</code></pre>
<p dir="auto">and then re-seed the app store:</p>
<pre><code>cd packages/prisma
yarn seed-app-store
</code></pre>
<p dir="auto">I'm seeing lots of errors when running this that appear to be related to apps that I'm not trying to install, but I did see one error message that perhaps needs to be addressed here: <code>error: Environment variable not found: DATABASE_URL.</code></p>
<p dir="auto">I saw that the <a href="http://cal.com" target="_blank" rel="noopener noreferrer nofollow ugc">cal.com</a> documentation mentions <code>.env</code> (<a href="https://cal.com/docs/introduction/quick-start/self-hosting/install-apps/google#:~:text=string%20in%20the-,.env%20file,-as%20the%20value" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>) and <code>.env.appStore</code> (<a href="https://cal.com/docs/introduction/quick-start/self-hosting/installation#development-setup-&amp;-production-build:~:text=fill%20out%20the-,.env.appStore,-file%20similar%20to" target="_blank" rel="noopener noreferrer nofollow ugc">here</a>), so I tried putting the new variables there too (in addition to the current <code>env</code> file in Cloudron), but still no luck.</p>
<p dir="auto">I'm curious to hear if anyone else has been able to successfully connect Google Calendar.</p>
]]></description><link>https://forum.cloudron.io/topic/9962/trouble-adding-google-calendar-to-cal-com-app-store</link><generator>RSS for Node</generator><lastBuildDate>Mon, 15 Jun 2026 04:35:18 GMT</lastBuildDate><atom:link href="https://forum.cloudron.io/topic/9962.rss" rel="self" type="application/rss+xml"/><pubDate>Mon, 04 Sep 2023 03:17:39 GMT</pubDate><ttl>60</ttl><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Wed, 20 Mar 2024 14:55:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> said in <a href="/post/74857">trouble adding Google Calendar to Cal.com App Store</a>:</p>
<blockquote>
<p dir="auto">I did have that wrong, but even after correcting it still wasn't working... on Firefox.</p>
</blockquote>
<p dir="auto">So what was it supposed to be???</p>
]]></description><link>https://forum.cloudron.io/post/85340</link><guid isPermaLink="true">https://forum.cloudron.io/post/85340</guid><dc:creator><![CDATA[jordankrueger]]></dc:creator><pubDate>Wed, 20 Mar 2024 14:55:21 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Fri, 06 Oct 2023 09:45:20 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> said in <a href="/post/74855">trouble adding Google Calendar to Cal.com App Store</a>:</p>
<blockquote>
<p dir="auto">I'm wondering if I have the wrong redirect_uris here:</p>
<p dir="auto">Screenshot from 2023-10-06 10-25-57.png</p>
</blockquote>
<p dir="auto">I did have that wrong, but even after correcting it still wasn't working... on Firefox.</p>
<p dir="auto">But then worked fine when I tried it on my vanilla install Chrome instead!</p>
<p dir="auto">(<a class="plugin-mentions-user plugin-mentions-a" href="/user/necrevistonnezr" aria-label="Profile: necrevistonnezr">@<bdi>necrevistonnezr</bdi></a> ha! although I also had both ublock origin and Privacy Badger still running - so could've easily been them.... Edit: nope, same thing happened with them turned off too <img src="https://forum.cloudron.io/assets/plugins/nodebb-plugin-emoji/emoji/android/1f926.png?v=13d69e59554" class="not-responsive emoji emoji-android emoji--face_palm" style="height:23px;width:auto;vertical-align:middle" title=":face_palm:" alt="🤦" /> )</p>
]]></description><link>https://forum.cloudron.io/post/74857</link><guid isPermaLink="true">https://forum.cloudron.io/post/74857</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Fri, 06 Oct 2023 09:45:20 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Fri, 06 Oct 2023 09:29:17 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/msbt" aria-label="Profile: msbt">@<bdi>msbt</bdi></a> thanks, I manged to work that out eventually, but I'm still struggling to get it to work.</p>
<p dir="auto">I've now got the Google Calendar App in the app store, but when I try to actually install it and then select the relevant Google account to login with I just get presented with this:</p>
<p dir="auto"><img src="/assets/uploads/files/1696583688811-f12d6a1a-101d-4255-90c2-de1891b8b41c-image.png" alt="f12d6a1a-101d-4255-90c2-de1891b8b41c-image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I'm seeing this in the logs:</p>
<pre><code>Oct 06 10:21:13@calcom/web:start: Error setting header x-csp=not-opted-in for /apps/google-calendar Error [ERR_HTTP_HEADERS_SENT]: Cannot set headers after they are sent to the client
Oct 06 10:21:13@calcom/web:start: at new NodeError (node:internal/errors:405:5)
Oct 06 10:21:13@calcom/web:start: at ServerResponse.setHeader (node:_http_outgoing:648:11)
Oct 06 10:21:13@calcom/web:start: at _res.setHeader (/run/calcom/node_modules/next/dist/server/base-server.js:306:24)
Oct 06 10:21:13@calcom/web:start: at setHeader (/run/calcom/apps/web/.next/server/pages/_document.js:181:18)
Oct 06 10:21:13@calcom/web:start: at MyDocument.getInitialProps (/run/calcom/apps/web/.next/server/pages/_document.js:191:13)
Oct 06 10:21:13@calcom/web:start: at loadGetInitialProps (/run/calcom/node_modules/next/dist/shared/lib/utils.js:146:29)
Oct 06 10:21:13@calcom/web:start: at loadDocumentInitialProps (/run/calcom/node_modules/next/dist/server/render.js:740:67)
Oct 06 10:21:13@calcom/web:start: at renderDocument (/run/calcom/node_modules/next/dist/server/render.js:790:45)
Oct 06 10:21:13@calcom/web:start: at /run/calcom/node_modules/next/dist/server/render.js:836:18
Oct 06 10:21:13@calcom/web:start: at /run/calcom/node_modules/next/dist/server/lib/trace/tracer.js:117:36 {
Oct 06 10:21:13@calcom/web:start: code: 'ERR_HTTP_HEADERS_SENT'
Oct 06 10:21:13@calcom/web:start: }
Oct 06 10:21:13@calcom/web:start: react-i18next:: You will need to pass in an i18next instance by using initReactI18next
Oct 06 10:21:13@calcom/web:start: [PERF]: getByViewer(1) took 6.489197999238968ms
</code></pre>
<p dir="auto">I'm wondering if I have the wrong <code>redirect_uris</code> here:</p>
<p dir="auto"><img src="/assets/uploads/files/1696584543813-screenshot-from-2023-10-06-10-25-57.png" alt="Screenshot from 2023-10-06 10-25-57.png" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/74855</link><guid isPermaLink="true">https://forum.cloudron.io/post/74855</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Fri, 06 Oct 2023 09:29:17 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Fri, 06 Oct 2023 08:38:12 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/jdaviescoates" aria-label="Profile: jdaviescoates">@<bdi>jdaviescoates</bdi></a> you need credentials to use the API: <a href="https://cal.com/docs/introduction/quick-start/self-hosting/install-apps/google" target="_blank" rel="noopener noreferrer nofollow ugc">https://cal.com/docs/introduction/quick-start/self-hosting/install-apps/google</a></p>
]]></description><link>https://forum.cloudron.io/post/74845</link><guid isPermaLink="true">https://forum.cloudron.io/post/74845</guid><dc:creator><![CDATA[msbt]]></dc:creator><pubDate>Fri, 06 Oct 2023 08:38:12 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Thu, 05 Oct 2023 23:20:09 GMT]]></title><description><![CDATA[<p dir="auto">I'm just setting up <a href="http://Cal.com" target="_blank" rel="noopener noreferrer nofollow ugc">Cal.com</a> on my Cloudron and during the admin onboarding I'm trying to turn Google Calendar and Outlook Calendar on and both of them present me with pop-ups like this:</p>
<p dir="auto"><img src="/assets/uploads/files/1696547988982-af98d45d-4135-473a-bb7f-417ec1ae925d-image.png" alt="image.png" class=" img-fluid img-markdown" /></p>
<p dir="auto">I've no idea what I'm supposed to enter in those fields?</p>
]]></description><link>https://forum.cloudron.io/post/74827</link><guid isPermaLink="true">https://forum.cloudron.io/post/74827</guid><dc:creator><![CDATA[jdaviescoates]]></dc:creator><pubDate>Thu, 05 Oct 2023 23:20:09 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Wed, 06 Sep 2023 17:24:56 GMT]]></title><description><![CDATA[<p dir="auto">@jessencan I never reseeded the app store after adding the <code>GOOGLE_API_CREDENTIALS</code> to <code>env</code> file. It's not necessary. Simply restart the App and sign in with your admin account. Then you can enable the Google Calendar integration in the admin settings.</p>
]]></description><link>https://forum.cloudron.io/post/73266</link><guid isPermaLink="true">https://forum.cloudron.io/post/73266</guid><dc:creator><![CDATA[3699n]]></dc:creator><pubDate>Wed, 06 Sep 2023 17:24:56 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Tue, 05 Sep 2023 05:34:21 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/nebulon" aria-label="Profile: nebulon">@<bdi>nebulon</bdi></a> I wasn't able to get it to work with changes to the <code>env</code> file, but was able to get everything working through a different path: by first uninstalling and reinstalling from the Cloudron App Store. This time, I entered the credentials directly through the web prompts during the admin user onboarding flow. Looking forward to testing it all out this week!</p>
]]></description><link>https://forum.cloudron.io/post/73134</link><guid isPermaLink="true">https://forum.cloudron.io/post/73134</guid><dc:creator><![CDATA[sparkwise]]></dc:creator><pubDate>Tue, 05 Sep 2023 05:34:21 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Tue, 05 Sep 2023 04:06:39 GMT]]></title><description><![CDATA[<p dir="auto"><a class="plugin-mentions-user plugin-mentions-a" href="/user/robertdoneill" aria-label="Profile: robertdoneill">@<bdi>robertdoneill</bdi></a> Use the <a href="https://docs.cloudron.io/apps/#file-manager" target="_blank" rel="noopener noreferrer nofollow ugc">filemanager</a> to edit <code>/app/data/env</code></p>
]]></description><link>https://forum.cloudron.io/post/73131</link><guid isPermaLink="true">https://forum.cloudron.io/post/73131</guid><dc:creator><![CDATA[girish]]></dc:creator><pubDate>Tue, 05 Sep 2023 04:06:39 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Tue, 05 Sep 2023 03:26:37 GMT]]></title><description><![CDATA[<p dir="auto">is there a copy of the .env file created in the home directory? When i look at mine I only see .env.example but no .env file. It seems like it should be there someplace that Im missing.</p>
]]></description><link>https://forum.cloudron.io/post/73130</link><guid isPermaLink="true">https://forum.cloudron.io/post/73130</guid><dc:creator><![CDATA[robertdoneill]]></dc:creator><pubDate>Tue, 05 Sep 2023 03:26:37 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Mon, 04 Sep 2023 14:33:19 GMT]]></title><description><![CDATA[<p dir="auto">Nice, thanks for sharing that. <a class="plugin-mentions-user plugin-mentions-a" href="/user/sparkwise" aria-label="Profile: sparkwise">@<bdi>sparkwise</bdi></a> does it work for you then as well with this info?</p>
]]></description><link>https://forum.cloudron.io/post/73095</link><guid isPermaLink="true">https://forum.cloudron.io/post/73095</guid><dc:creator><![CDATA[nebulon]]></dc:creator><pubDate>Mon, 04 Sep 2023 14:33:19 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Mon, 04 Sep 2023 14:17:42 GMT]]></title><description><![CDATA[<p dir="auto">After switching the Google OAuth Screen App from Internal to External with testing, adding my Google accounts to the list of testing users, I have been able to add all 3 of Google accounts across different orgs. Everything seems to be working well!</p>
]]></description><link>https://forum.cloudron.io/post/73091</link><guid isPermaLink="true">https://forum.cloudron.io/post/73091</guid><dc:creator><![CDATA[3699n]]></dc:creator><pubDate>Mon, 04 Sep 2023 14:17:42 GMT</pubDate></item><item><title><![CDATA[Reply to trouble adding Google Calendar to Cal.com App Store on Wed, 06 Sep 2023 17:28:10 GMT]]></title><description><![CDATA[<p dir="auto">I was able to successfully set up the Google Calendar app by following the <a href="http://Cal.com" target="_blank" rel="noopener noreferrer nofollow ugc">Cal.com</a> self-hosters instructions you linked. I created it as an "Internal App". After including the <code>GOOGLE_API_CREDENTIALS</code> variable in the <code>.env</code> file I had to restart the <a href="http://Cal.com" target="_blank" rel="noopener noreferrer nofollow ugc">Cal.com</a> cloudron app twice for it to properly recognize the OAuth Credentials.</p>
<p dir="auto">Please be aware that you need to enclose the JSON value of the environment variable in single quotes <code>'</code> and apparently include a new line after your last environment variable.</p>
<p dir="auto">It should look something like this:</p>
<pre><code># Add custom environment variables in this file

NEXT_PUBLIC_APP_NAME="..."
NEXT_PUBLIC_COMPANY_NAME="..."
GOOGLE_API_CREDENTIALS='{"web":{...}}'

# don't forget to include the new line after the env variable
</code></pre>
<p dir="auto"><strong>Note it is not necessary to reseed the app store as described in <a href="http://Cal.com" target="_blank" rel="noopener noreferrer nofollow ugc">Cal.com</a> docs. Simply restart the Cloudron <a href="http://Cal.com" target="_blank" rel="noopener noreferrer nofollow ugc">Cal.com</a> app after adding the env varible and navigate to the admin settings to enable the Google Calendar app for your instance. You can also skip the admin onboarding dialog where you can enable the Google Calendar plugin.</strong></p>
<p dir="auto"><img src="https://i.imgur.com/AwlFnRX.png" alt="successful setup" class=" img-fluid img-markdown" /></p>
]]></description><link>https://forum.cloudron.io/post/73086</link><guid isPermaLink="true">https://forum.cloudron.io/post/73086</guid><dc:creator><![CDATA[3699n]]></dc:creator><pubDate>Wed, 06 Sep 2023 17:28:10 GMT</pubDate></item></channel></rss>