Google Calendar
Connect your Google calendars so they sync both ways.
Katlendar has no sign-in registration of its own with Google. You make one, once, in your own Google account, and paste its ID into Katlendar. It takes about five minutes and costs nothing. Your calendar data still goes only between your computer and Google: the registration just tells Google's sign-in page which program is asking.
You need a Google account. No billing account is needed.
1. Make a project#
- Open the Google Cloud console and sign in with the Google account whose calendars you want.
- Use the project picker at the top → New project. Any name works, for example
katlendar. Make sure the new project is selected before going on.
2. Switch on the CalDAV API#
Katlendar talks to Google over CalDAV, so this is the one API it needs.
- Open the CalDAV API page.
- Click Enable.
You do not need the "Google Calendar API".
3. Set up the sign-in screen#
- Open Google Auth Platform → Branding and click Get started if asked.
- App name:
katlendar(anything works). Support email: your own. - Audience: External. Contact email: your own. Agree and Create.
4. Stop the weekly sign-out (recommended)#
A project left in Testing hands out sign-ins that expire after 7 days, so Katlendar would ask you to sign in again every week. To avoid that:
- Open Audience.
- Click Publish app → Confirm.
You do not need Google to verify the app for your own use. The only difference is that the sign-in page warns that the app is unverified; see step 6.
If you'd rather stay in Testing, add your own address under Test users on the same page instead, and expect to sign in again weekly.
5. Make the client ID#
- Open Clients → Create client.
- Application type: Desktop app. This matters: other types fail with
redirect_uri_mismatch. Name: anything. - Click Create. Copy the Client ID and the Client secret, or click Download JSON.
6. Sign in from Katlendar#
- In Katlendar: Settings › Calendars, under Integrate your calendars, click Google.
- Fill in your Google address. Paste the client ID and client secret, or paste the whole downloaded JSON file into the client ID box; Katlendar takes both values out of it.
- Click Sign in with Google…. Your browser opens Google's page.
- If you published the app, Google says "Google hasn't verified this app". Click Advanced → Go to katlendar (unsafe). This only means Google hasn't reviewed a project you made yourself.
- Allow access to your calendars. The browser says you're signed in and Katlendar lists your calendars.
The sign-in is kept in your desktop's keyring. Removing the account in Katlendar also tells Google to forget it.
When it goes wrong#
| What you see | Why | Fix |
|---|---|---|
redirect_uri_mismatch | The client isn't a Desktop app | Make a new client of type Desktop app (step 5) |
access_denied or "has not completed the Google verification process" | The app is in Testing and you aren't a test user | Publish the app (step 4) or add yourself as a test user |
| "CalDAV API has not been used in project…" | The API is off, or it was switched on in another project | Enable it in the same project as the client (step 2) |
| Katlendar asks you to sign in again after a week | The app is still in Testing | Publish it (step 4), then sign in once more |
invalid_client | The ID or secret was cut off when copying | Paste the downloaded JSON instead |
Why you make your own#
A sign-in registration built into the app would need Google's paid security review, and Google could switch it off for everyone at once. One of your own answers only to you. The same client can sign in several of your Google accounts: publish the app, or add each address as a test user.
The client ID is kept in Katlendar's data file. The sign-in itself (and the client secret) is kept in your desktop's keyring.