Skip to content

Saleor Core: the high performance, composable, headless commerce API.

Add missing cors header

dominik-zeglen9388834d4629
diff --git a/saleor/graphql/views.py b/saleor/graphql/views.py
index 852f929eec..438c8b0216 100644
--- a/saleor/graphql/views.py
+++ b/saleor/graphql/views.py
@@ -96,6 +96,7 @@ class GraphQLView(View):
response[
"Access-Control-Allow-Headers"
] = "Origin, Content-Type, Accept, Authorization"
+ response["Access-Control-Allow-Credentials"] = "true"
return response
def render_playground(self, request):