mirror of
https://github.com/GAM-team/GAM.git
synced 2026-06-03 22:01:39 +00:00
Fixed bug in gam oauth create
This commit is contained in:
@@ -1,6 +1,8 @@
|
||||
7.39.08
|
||||
|
||||
Upgraded to Python 3.14.4.
|
||||
Fixed bug in `gam oauth create` that caused a trap when `0) Business Account Management API` was selected.
|
||||
|
||||
Upgraded to Python 3.14.4 on macOS and Windows; Linux is still 3.14.3.
|
||||
|
||||
7.39.07
|
||||
|
||||
|
||||
@@ -11330,7 +11330,10 @@ def doOAuthRequest(currentScopes, login_hint, verifyScopes=False):
|
||||
for scope in scopesList:
|
||||
if selectedScopes[i] == '*':
|
||||
if scope['scope']:
|
||||
scopes.add(scope['scope'])
|
||||
if not isinstance(scope['scope'], list):
|
||||
scopes.add(scope['scope'])
|
||||
else:
|
||||
scopes.update(scope['scope'])
|
||||
elif selectedScopes[i] == 'R':
|
||||
scopes.add(f'{scope["scope"]}.readonly')
|
||||
elif selectedScopes[i] == 'A':
|
||||
|
||||
Reference in New Issue
Block a user