diff --git a/app/contexts/Authentication/utilities.tsx b/app/contexts/Authentication/utilities.tsx index ccd7915e30..ea58026e0a 100644 --- a/app/contexts/Authentication/utilities.tsx +++ b/app/contexts/Authentication/utilities.tsx @@ -26,6 +26,7 @@ export const CreateSession = async ({ headers: { "Accept": "application/json", "Content-Type": "application/json", + 'Access-Control-Allow-Origin': '*', }, credentials: 'include', body: JSON.stringify(request) @@ -44,6 +45,7 @@ export const GetSession = async () => { method: 'GET', headers: { 'Accept': 'application/json', + 'Access-Control-Allow-Origin': '*', }, credentials: 'include', }) @@ -64,6 +66,7 @@ export async function DestroySession() : Promise { method: 'POST', headers: { 'Accept': 'application/json', + 'Access-Control-Allow-Origin': '*', }, credentials: 'include', })