diff --git a/src/common/helpers/rest-calls/index.ts b/src/common/helpers/rest-calls/index.ts index 2b9e246c..42982e6b 100644 --- a/src/common/helpers/rest-calls/index.ts +++ b/src/common/helpers/rest-calls/index.ts @@ -112,7 +112,7 @@ export const useMasaQuery = ( ...headers, Authorization: token ? `Bearer ${token}` : undefined, }, - credentials: "same-origin", + credentials: "include", method: metadata.method, mode: 'cors', body: JSON.stringify(body), @@ -172,7 +172,7 @@ export const useMasaMutation = ( Authorization: token ? `Bearer ${token}` : undefined, 'Content-Type': 'application/json', }, - credentials: "same-origin", + credentials: "include", method: metadata.method, mode: 'cors', body: JSON.stringify(newBody ? newBody : body),