From ef14008927800d60a7ffa2cf95f53a56f19e2422 Mon Sep 17 00:00:00 2001 From: Ralph Bean Date: Mon, 20 Feb 2017 08:41:36 -0500 Subject: [PATCH] Split this string, at @puiterwijk's suggestion. --- module_build_service/auth.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/module_build_service/auth.py b/module_build_service/auth.py index 90966867..6d657256 100644 --- a/module_build_service/auth.py +++ b/module_build_service/auth.py @@ -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',