From d0f34aa69943a12a74e0d224a49cd0152e8a442c Mon Sep 17 00:00:00 2001 From: Ilya Katz Date: Mon, 8 Aug 2022 08:06:53 -0700 Subject: [PATCH] Update instructions for integration with google calendar (#3558) Co-authored-by: Joe Au-Yeung <65426560+joeauyeung@users.noreply.github.com> --- .env.example | 2 ++ README.md | 16 ++++++++++++++++ 2 files changed, 18 insertions(+) diff --git a/.env.example b/.env.example index f45725ad14..49676b154d 100644 --- a/.env.example +++ b/.env.example @@ -30,6 +30,8 @@ NEXT_PUBLIC_WEBAPP_URL='http://localhost:3000' NEXT_PUBLIC_WEBSITE_URL='http://localhost:3000' NEXT_PUBLIC_CONSOLE_URL='http://localhost:3004' NEXT_PUBLIC_EMBED_LIB_URL='http://localhost:3000/embed/embed.js' +# Make sure you don't have .example.com as a value +NEXTAUTH_DOMAIN='localhost:3000' # To enable SAML login, set both these variables # @see https://github.com/calcom/cal.com/tree/main/packages/ee#setting-up-saml-login diff --git a/README.md b/README.md index 294ff480eb..27b1cacb86 100644 --- a/README.md +++ b/README.md @@ -324,6 +324,22 @@ We have a list of [help wanted](https://github.com/orgs/calcom/projects/1/views/ 10. The key will be created and you will be redirected back to the Credentials page. Select the newly generated client ID under OAuth 2.0 Client IDs. 11. Select Download JSON. Copy the contents of this file and paste the entire JSON string in the .env file as the value for GOOGLE_API_CREDENTIALS key. +#### *Adding google calendar to Cal.com App Store* + +After adding Google credentials, you can now Google Calendar App to the app store. +You can repopulate the App store by running + +``` +cd packages/prisma +yarn seed-app-store +``` + +You will need to complete a few more steps to activate Google Calendar App. +Make sure to complete section "Obtaining the Google API Credentials". After the do the +following + +1. Add extra redirect URL `/api/auth/callback/google` +1. Under 'OAuth concent screen', click "PUBLISH APP" ### Obtaining Microsoft Graph Client ID and Secret 1. Open [Azure App Registration](https://portal.azure.com/#blade/Microsoft_AAD_IAM/ActiveDirectoryMenuBlade/RegisteredApps) and select New registration