Split this string, at @puiterwijk's suggestion.

This commit is contained in:
Ralph Bean
2017-02-20 08:41:36 -05:00
parent 54770cdc23
commit ef14008927

View File

@@ -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',