mirror of
https://pagure.io/fm-orchestrator.git
synced 2026-04-04 19:28:49 +08:00
Split this string, at @puiterwijk's suggestion.
This commit is contained in:
@@ -102,7 +102,7 @@ def get_user(request):
|
||||
if not "active" in data or not data["active"]:
|
||||
raise Unauthorized("OIDC token invalid or expired.")
|
||||
|
||||
presented_scopes = data['scope']
|
||||
presented_scopes = data['scope'].split(' ')
|
||||
required_scopes = [
|
||||
'openid',
|
||||
'https://id.fedoraproject.org/scope/groups',
|
||||
|
||||
Reference in New Issue
Block a user