mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-07 13:13:34 +00:00
Fix select_default_scopes in doRequestOAuth
https://www.googleapis.com/auth/admin.directory.user.security is not a subset of https://www.googleapis.com/auth/admin.directory.user
This commit is contained in:
@ -8824,6 +8824,8 @@ def doRequestOAuth():
|
||||
i += 1
|
||||
scope += u'.'
|
||||
while (i < count) and scopes[i].startswith(scope):
|
||||
if scopes[i].endswith(u'.security'):
|
||||
api[u'use_scopes'].append(scopes[i])
|
||||
i += 1
|
||||
|
||||
def _getSelection(limit):
|
||||
|
Reference in New Issue
Block a user