From e27db2ed63fd3c9c686c049a9b9049a907985ecc Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Thu, 13 Aug 2015 12:03:47 -0400 Subject: initial server implementation for using google as a single-sign-on oauth service --- config/config.json | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'config') 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": { -- cgit v1.2.3-1-g7c22 From 07704d3299d6c85c531c98d7ff61251dc8e1f277 Mon Sep 17 00:00:00 2001 From: JoramWilander Date: Fri, 14 Aug 2015 11:57:46 -0400 Subject: turn off google SSO by default and remove test google oauth credentials --- config/config.json | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'config') diff --git a/config/config.json b/config/config.json index 8405b9076..e7134cba5 100644 --- a/config/config.json +++ b/config/config.json @@ -35,9 +35,9 @@ "UserApiEndpoint": "" }, "google": { - "Allow": true, - "Secret": "hWN1kiPeyihN6nHr36j0oDqx", - "Id": "974585606220-ek5q66olpagb069pkg9ok0d7h8djeov6.apps.googleusercontent.com", + "Allow": false, + "Secret": "", + "Id": "", "Scope": "email profile", "AuthEndpoint": "https://accounts.google.com/o/oauth2/auth", "TokenEndpoint": "https://www.googleapis.com/oauth2/v3/token", -- cgit v1.2.3-1-g7c22