diff --git a/js/libs/ui-shared/src/context/KeycloakContext.tsx b/js/libs/ui-shared/src/context/KeycloakContext.tsx index 3d2768f563..d19660ff41 100644 --- a/js/libs/ui-shared/src/context/KeycloakContext.tsx +++ b/js/libs/ui-shared/src/context/KeycloakContext.tsx @@ -49,10 +49,7 @@ export const KeycloakProvider = ({ const [error, setError] = useState(); const keycloak = useMemo(() => { const keycloak = new Keycloak({ - url: - "authServerUrl" in environment - ? (environment.authServerUrl as string) - : environment.authUrl, + url: environment.authUrl, realm: environment.realm, clientId: environment.clientId, });