Dienstag, 14. Januar 2014

BackupGoo OAuth 2.0 Domain Authentication


The new BackupGoo authentication system is designed to allow BackupGoo access to your domain. We designed the system to be a one-time, automatic setup. You can use the files for multiple domains and sub-domains. If there is nothing set up or your information becomes invalid, BackupGoo will tell you.

At some point, BackupGoo will ask you to set up your Domain Authentication system.The corresponding window is this.

For the Command-Line version, the request for the domain authentication looks like this.

To set the system up, all you need to do, is to provide 2 files. That's it.


Step 1

Visit Google's Cloud Platform and login with any account:

If there is not project set up, click on "Create an empty Project" or click on your project.

Step 2

When creating the new project, type in any name, e.g. "BackupGoo" and agree with the Terms of Service.

New Project creation

Step 3

You will be redirected to your new project.
In your project click on "Enable and manage APIs".

New Project View

Step 4

Under "APIs & auth" and "APIs" activate the "Drive API", "Calendar API", "Admin SDK" and the "Contacts API"

Activate the "Drive API", "Calendar API", "Admin SDK" and the "Contacts API"

Step 5

Next, in the left menu click on "Credentials".

Under "Credentials" click on "Create credential" and select "Service account key"

Under "Credentials" click on the "Create credentials" button and select the "Service account key" option.

Step 6

In the next window select the "P12" key type, click "Create" and save the file given with a .p12 ending.

Step 7

Now click on the "Manage service accounts" link.

Step 8

In the project view, under the new "Service Account" section click on "Generate new P12 key" and save this file, too.

Step 9

Input the JSON Clients Secrets file and the P12 key file in BackupGoo's authentication window shown at the start, and you are done.