canWork Cloud Support Docs

canWork Cloud Admin Docs

Google Integration

Google Migration is a 3 step process. We do the hard steps for you.

What we do:

  • Add Google API tokens and enable Google API access
  • Add the codes to Nextcloud

All you have to do is:

  • Make sure you have 2FA on your Google account. You need this to make an API key
  • Get the API secret and public keys, and send to CanTrust (you can send it via: https://canwork.cloud/privacy-tools/#privacy-note)
  • Migrate user data to Nextcloud

Nextcloud Administrator docs

ignore if you are on one of our shared instances. 

To allow your Nextcloud users to authenticate with Google, create an OAuth application in your Google setting:  Google API settings

  • Go to “APIs & Services” => “Credentials” and click on “+ CREATE CREDENTIALS” -> “OAuth client ID“.
  • Set the “Application type” to “Web application” and give a name to the application (that you will recognize).
  • Make sure you set one “Authorized redirect URI” to https://example.com/apps/integration_google/oauth-redirect

Please include your company name.

  • Go to “APIs & Services” => “Library” and add the following APIs: “Google Drive API“, “Google Calendar API“, “People API” and “Photos Library API“.
  • Your Nextcloud users will then see a “Connect to Google” button in their personal settings.

If you run into errors later while viewing the data migration page, come back to this step and make sure you have enabled Google API Access in your Google API settings.