-
Notifications
You must be signed in to change notification settings - Fork 13
/
secret.go
37 lines (34 loc) · 973 Bytes
/
secret.go
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
//
// Copyright (c) 2017 Dean Jackson <[email protected]>
//
// MIT Licence. See http://opensource.org/licenses/MIT
//
// Created on 2017-11-25
//
// +build !private
package main
// Google doesn't allow app keys to be stored in open-source source code.
// The built workflow includes a key.
//
// If you want to hack on the source code, register your own project here:
// https://console.developers.google.com/apis/dashboard
//
// Add the Google Calendar API and create credentials for a web app, with
// http://localhost:61432 as the redirect URI.
//
// The workflow only requires read access.
const secret = `
{
"web": {
"redirect_uris": [
"http://localhost:61432"
],
"auth_uri": "https://accounts.google.com/o/oauth2/auth",
"client_id": "",
"project_id": "",
"client_secret": "",
"token_uri": "https://accounts.google.com/o/oauth2/token",
"auth_provider_x509_cert_url": "https://www.googleapis.com/oauth2/v1/certs"
}
}
`