From 54da0981de94ba2f9e8eb914019c38fb092c4248 Mon Sep 17 00:00:00 2001 From: Chris Burr Date: Thu, 28 Sep 2023 04:28:35 +0200 Subject: [PATCH] fix: Use scope parameter rather than scopes --- src/DIRAC/FrameworkSystem/Service/ProxyManagerHandler.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/DIRAC/FrameworkSystem/Service/ProxyManagerHandler.py b/src/DIRAC/FrameworkSystem/Service/ProxyManagerHandler.py index 0a0f2f06f82..3ef55a96535 100644 --- a/src/DIRAC/FrameworkSystem/Service/ProxyManagerHandler.py +++ b/src/DIRAC/FrameworkSystem/Service/ProxyManagerHandler.py @@ -432,7 +432,7 @@ def export_exchangeProxyForToken(self): f"{diracxUrl}/auth/legacy-exchange", params={ "preferred_username": credDict["username"], - "scopes": " ".join(scopes), + "scope": " ".join(scopes), }, headers={"Authorization": f"Bearer {apiKey}"}, )