Skip to content

Google Authenticate file

Pavel Serikov edited this page May 2, 2017 · 3 revisions

Here is manual how to create a Google Authenticate file

1. Install goauth CLI tool

2. Run tool

goauth gapi.conf

3. Get client_id and secret_id from Google API console

They will be like

client_id: 397141148797-hnbm3cl49rtonecqa982iamefll5bpn9.apps.googleusercontent.com (72 characters long)

secret_id: Blv-xsSaz2W-yhDzDhFSrrej (24 characters long)

4. Setup offline access

After input client_id and secret_id you will see in log:

Server available at http://127.0.0.1:3001

Open this page in browser and allow offline access to your GCal.

Sign of successful setup of remote access - browser will redirect you to page with JSON containing access_token and refresh_token