Make your own ClientID for Google Drive sync on KDE - This works!
Sources
Steps
1
10
11
Put the ClientID into your system
Option 1: Copy and paste the whole file
<?xml version="1.0" encoding="UTF-8"?>
<provider id="google">
<name>Google</name>
<description>NAME configured this - Sync calendars, contacts, and tasks, and upload videos to YouTube in supported apps</description>
<icon>im-google</icon>
<translations>kaccounts-providers</translations>
<domains>.*google\.com</domains>
<template>
<group name="auth">
<setting name="method">oauth2</setting>
<setting name="mechanism">web_server</setting>
<group name="oauth2">
<group name="web_server">
<setting name="Host">accounts.google.com</setting>
<setting name="AuthPath">o/oauth2/auth?access_type=offline&approval_prompt=force</setting>
<setting name="TokenPath">o/oauth2/token</setting>
<setting name="RedirectUri">http://localhost/oauth2callback</setting>
<setting name="ResponseType">code</setting>
<setting type="as" name="Scope">[
'https://www.googleapis.com/auth/userinfo.email',
'https://www.googleapis.com/auth/userinfo.profile',
'https://www.googleapis.com/auth/calendar',
'https://www.googleapis.com/auth/tasks',
'https://www.google.com/m8/feeds/',
'https://www.googleapis.com/auth/youtube.upload',
'https://www.googleapis.com/auth/docs',
'https://www.googleapis.com/auth/drive',
'https://www.googleapis.com/auth/drive.metadata.readonly'
]</setting>
<setting type="as" name="AllowedSchemes">['https']</setting>
<setting name="ClientId">CLIENT_ID_HERE</setting>
<setting name="ClientSecret">CLIENT_SECRET_HERE</setting>
</group>
</group>
</group>
</template>
</provider>
Option 2: Edit the file manually


Last updated























