diff --git a/src/gam.py b/src/gam.py index 2637ac93..9670571e 100755 --- a/src/gam.py +++ b/src/gam.py @@ -9485,7 +9485,7 @@ gam create project break flow = oauth2client.client.OAuth2WebServerFlow(client_id=client_id, client_secret=client_secret, scope=scopes, redirect_uri=oauth2client.client.OOB_CALLBACK_URN, - user_agent=GAM_INFO, access_type=u'offline', response_type=u'code', login_hint=login_hint) + user_agent=GAM_INFO, response_type=u'code', login_hint=login_hint) storage, credentials = getOauth2TxtStorageCredentials() if credentials is None or credentials.invalid: http = httplib2.Http(disable_ssl_certificate_validation=GC_Values[GC_NO_VERIFY_SSL]) diff --git a/src/oauth2client/client.py b/src/oauth2client/client.py index 209093dc..fbcd70c3 100644 --- a/src/oauth2client/client.py +++ b/src/oauth2client/client.py @@ -1771,7 +1771,7 @@ class DeviceFlowInfo(collections.namedtuple('DeviceFlowInfo', ( def _oauth2_web_server_flow_params(kwargs): """Configures redirect URI parameters for OAuth2WebServerFlow.""" params = { - 'access_type': 'offline', +# 'access_type': 'offline', 'response_type': 'code', }