mirror of
https://github.com/GAM-team/GAM.git
synced 2025-07-07 21:23: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
|
i += 1
|
||||||
scope += u'.'
|
scope += u'.'
|
||||||
while (i < count) and scopes[i].startswith(scope):
|
while (i < count) and scopes[i].startswith(scope):
|
||||||
|
if scopes[i].endswith(u'.security'):
|
||||||
|
api[u'use_scopes'].append(scopes[i])
|
||||||
i += 1
|
i += 1
|
||||||
|
|
||||||
def _getSelection(limit):
|
def _getSelection(limit):
|
||||||
|
Reference in New Issue
Block a user