Adding Google Calendar Account

As of v0.9.0, MMDL supports Google Calendars. Note that Google Tasks are not supported, because Google doesn't use CalDAV for tasks, but rather use their custom API. Supporting Google Tasks is not on the roadmap for this project.

Making Google Calendar work is a long process. It requires OAuth authentication for using CalDAV API.

Note the Google OAuth requires HTTPS to work. So you will have to set up HTTPS for your MMDL server, whether you're running it on localhost or on a remote server.

Enable Google CalDAV API

First of all, we need to enable Google's CalDAV API.

Screen 1

Screen 2

Screen 3

Screen 4

Screen 5

Screen 6

Screen 7

Creating your OAuth Credentials

Screen 8

Screen 9

Screen 10

Origins

If your app is hosted locally, enter the following URLs:

  1. http://localhost
  2. https://localhost
  3. http://localhost:3000
  4. https://localhost:3000

Change the port number to whatever port MMDL is using.

Screen 11

If you're using a custom domain, you can enter its TLD like so:

  1. https://example.com

Redirect URIs

If your app is hosted locally, enter the following URLs:

  1. https://localhost
  2. https://localhost:3000
  3. https://localhost/accounts/caldav/oauth/register
  4. https://localhost:3000/accounts/caldav/oauth/register

Change the port number to whatever port MMDL is using.

If you're using a custom domain, you can enter it like so:

  1. https://example.com/accounts/caldav/oauth/register

Creating an Audience

Our newly created app will be assigned a "Testing" status, and therefore, it will only be available to limited users, who will have to be manually added. You can only give access to a 100 users while your app has a "Testing" status.

To do so, click on "Audience" on the left panel. Click "Add users" in the "Test users" section and enter the gmail addresses of those you want to give an access to.

Screen 12

Adding the Account to MMDL

Now that we have enabled app in Google's Developer Console, we will need to add it to MMDL.

Screen 13