We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents e20e0f1 + cf55e37 commit 55702abCopy full SHA for 55702ab
src/DIRAC/FrameworkSystem/Service/ProxyManagerHandler.py
@@ -414,7 +414,7 @@ def export_exchangeProxyForToken(self):
414
try:
415
from diracx.routers.auth import ( # pylint: disable=import-error
416
AuthSettings,
417
- create_access_token,
+ create_token,
418
TokenResponse,
419
) # pylint: disable=import-error
420
@@ -438,7 +438,7 @@ def export_exchangeProxyForToken(self):
438
}
439
return S_OK(
440
TokenResponse(
441
- access_token=create_access_token(payload, authSettings),
+ access_token=create_token(payload, authSettings),
442
expires_in=authSettings.access_token_expire_minutes * 60,
443
state="None",
444
).dict()
0 commit comments