Skip to content

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

Whitelist tokenRefresh mutation for read-only mode

Marcin Gębala708ddd59f3f4
diff --git a/saleor/graphql/middleware.py b/saleor/graphql/middleware.py
index a971f3b496..d9309e7320 100644
--- a/saleor/graphql/middleware.py
+++ b/saleor/graphql/middleware.py
@@ -70,6 +70,7 @@ class ReadOnlyMiddleware:
"checkoutShippingMethodUpdate",
"tokenCreate",
"tokenVerify",
+ "tokenRefresh",
]
@staticmethod