From 3182ce031cd90fa84185a83bb9f65bcf1b12c03c Mon Sep 17 00:00:00 2001 From: Ross Scroggs Date: Thu, 31 Dec 2015 18:00:29 -0800 Subject: [PATCH] Leave email scope in tryOAuth --- src/gam.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/gam.py b/src/gam.py index b34f0c0e..3237ca99 100755 --- a/src/gam.py +++ b/src/gam.py @@ -560,7 +560,7 @@ def doGAMVersion(): GM_Globals[GM_GAM_PATH]) def tryOAuth(gdataObject, scope, soft_errors=False): -# scope.append(u'email') #TODO: What is this for? + scope.append(u'email') credentials = oauth2client.client.SignedJwtAssertionCredentials(GM_Globals[GM_OAUTH2SERVICE_ACCOUNT_EMAIL], GM_Globals[GM_OAUTH2SERVICE_KEY], scope=scope, user_agent=GAM_INFO, sub=GC_Values[GC_ADMIN])