From afc82845b5a5eb5fe4367400f6423f1a5a3c60d2 Mon Sep 17 00:00:00 2001 From: Asier Isayas Date: Wed, 24 Apr 2024 15:04:01 -0400 Subject: [PATCH] activate Token Controller (#1820) Co-authored-by: Asier Isayas --- src/Utils/EndpointUtils.ts | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/src/Utils/EndpointUtils.ts b/src/Utils/EndpointUtils.ts index e4c036d75..97e733b98 100644 --- a/src/Utils/EndpointUtils.ts +++ b/src/Utils/EndpointUtils.ts @@ -154,7 +154,11 @@ export const allowedNotebookServerUrls: ReadonlyArray = []; export function useNewPortalBackendEndpoint(backendApi: string): boolean { // This maps backend APIs to the environments supported by the new backend. const newBackendApiEnvironmentMap: { [key: string]: string[] } = { - [BackendApi.GenerateToken]: [PortalBackendEndpoints.Development], + [BackendApi.GenerateToken]: [ + PortalBackendEndpoints.Development, + PortalBackendEndpoints.Mpac, + PortalBackendEndpoints.Prod, + ], [BackendApi.PortalSettings]: [ PortalBackendEndpoints.Development, PortalBackendEndpoints.Mpac,