summaryrefslogtreecommitdiffstats
path: root/config
diff options
context:
space:
mode:
authorJoramWilander <jwawilander@gmail.com>2015-08-13 12:03:47 -0400
committerJoramWilander <jwawilander@gmail.com>2015-08-14 12:37:08 -0400
commite27db2ed63fd3c9c686c049a9b9049a907985ecc (patch)
tree701fcc97846e658e34c5d7ffada5b1d51a4920a9 /config
parentb9aef9f2a6b90663cb7ba4ff9e42560c145b631d (diff)
downloadchat-e27db2ed63fd3c9c686c049a9b9049a907985ecc.tar.gz
chat-e27db2ed63fd3c9c686c049a9b9049a907985ecc.tar.bz2
chat-e27db2ed63fd3c9c686c049a9b9049a907985ecc.zip
initial server implementation for using google as a single-sign-on oauth service
Diffstat (limited to 'config')
-rw-r--r--config/config.json10
1 files changed, 10 insertions, 0 deletions
diff --git a/config/config.json b/config/config.json
index c446b517c..8405b9076 100644
--- a/config/config.json
+++ b/config/config.json
@@ -29,9 +29,19 @@
"Allow": false,
"Secret" : "",
"Id": "",
+ "Scope": "",
"AuthEndpoint": "",
"TokenEndpoint": "",
"UserApiEndpoint": ""
+ },
+ "google": {
+ "Allow": true,
+ "Secret": "hWN1kiPeyihN6nHr36j0oDqx",
+ "Id": "974585606220-ek5q66olpagb069pkg9ok0d7h8djeov6.apps.googleusercontent.com",
+ "Scope": "email profile",
+ "AuthEndpoint": "https://accounts.google.com/o/oauth2/auth",
+ "TokenEndpoint": "https://www.googleapis.com/oauth2/v3/token",
+ "UserApiEndpoint": "https://www.googleapis.com/plus/v1/people/me"
}
},
"SqlSettings": {