diff --git a/src/shared/backend/graphql.tsx b/src/shared/backend/graphql.tsx index e483cc11..b1c1116c 100644 --- a/src/shared/backend/graphql.tsx +++ b/src/shared/backend/graphql.tsx @@ -68,7 +68,7 @@ function requestGraphQL({ url: `${url}/.api/graphql` + queryName, headers, crossDomain: true, - withCredentials: true, + withCredentials: !(headers && headers.authorization), body: JSON.stringify({ query: request, variables }), async: true, }).pipe( diff --git a/src/shared/backend/lsp.tsx b/src/shared/backend/lsp.tsx index 7f278d30..2c34e4e9 100644 --- a/src/shared/backend/lsp.tsx +++ b/src/shared/backend/lsp.tsx @@ -52,7 +52,7 @@ const request = (url: string, method: string, requests: any[]): Observable