Connect your calendar with your own OAuth app
Connect Google Calendar or Outlook through an OAuth app your organization controls, instead of signing in through Dume.
By default, Sayquill connects Google Calendar and Microsoft Calendar in one click through your Dume account. If your organization only allows apps it has approved, or you’d rather the connection run through an app you control, create your own OAuth app with Google or Microsoft and paste its details into Sayquill. Either way, Sayquill only reads your calendars: it never adds, changes or deletes an event.
When should you use your own OAuth app?
- Your Google Workspace or Microsoft 365 admin blocks third-party apps they haven’t approved.
- You want the calendar connection to run through an app your organization owns and can turn off.
- You’d rather not connect your calendar through Dume.
How do you connect Google Calendar with your own app?
You need a Google Cloud project and an OAuth client of type Desktop app.
- Open the Google Cloud console and create a project, or pick one.
- Enable the Google Calendar API for that project.
- Under Google Auth Platform, set up the consent screen for External users, and add the scopes calendar.events.readonly and calendar.calendarlist.readonly.
- Under Audience, publish the app. In testing mode Google ends the sign-in after 7 days, so you’d reconnect every week. Once it’s published, Google shows an unverified-app warning when you sign in, which you can continue past.
- Under Clients, create an OAuth client of type Desktop app.
- In Sayquill, open Integrations in the sidebar. On the Google Calendar card, choose Use your own OAuth app, paste the Client ID and Client secret, then choose Save and connect.
- Finish signing in with your browser.
A Desktop app client needs no redirect URI. Your client secret is stored encrypted on your computer, and Sayquill never shows it again.
How do you connect Microsoft Calendar with your own app?
You need an app registration in Microsoft Entra. It needs no client secret: Sayquill signs in with PKCE.
- In the Microsoft Entra admin center, open App registrations and choose New registration.
- For supported account types, choose Accounts in any organizational directory and personal Microsoft accounts.
- Under Authentication, add the platform Mobile and desktop applications with the redirect URIs http://localhost and http://127.0.0.1.
- Under API permissions, add the Microsoft Graph delegated permissions Calendars.Read, User.Read and offline_access.
- In Sayquill, open Integrations in the sidebar. On the Microsoft Calendar card, choose Use your own OAuth app and paste the Application (client) ID from the app’s Overview page.
- Leave Directory (tenant) ID empty to allow work, school and personal Microsoft accounts, then choose Save and connect and finish signing in with your browser.
To allow only your own organization’s accounts, choose Accounts in this organizational directory only in step 2, and enter your directory ID or domain, such as contoso.onmicrosoft.com, as the Directory (tenant) ID.
What if it doesn’t connect?
- The ID or secret isn’t accepted: paste it exactly as the console shows it, without spaces.
- Sign-in expired: choose Reconnect on the card. With Google, publish the app under Audience so sign-ins don’t end after 7 days.
- Calendar access missing: the scopes or permissions above weren’t granted. Add them, then choose Reconnect and allow calendar access when you sign in.
- You replaced the OAuth app: accounts connected with the old app stop working with a new one, so Sayquill disconnects them. Connect them again after saving.
Can you switch back to connecting through Dume?
Yes. Choose Switch to Dume on the calendar card. Sayquill disconnects the accounts you connected with your own app, then opens your browser to connect through your Dume account. For the one-click setup and Apple Calendar, see Connect your calendar.