Add queryStringAuth to WooCommerce API for better authentication

This commit is contained in:
Unchained
2026-03-07 07:12:34 +02:00
parent 214547362c
commit 2dc837b0e9

View File

@@ -18,6 +18,7 @@ function getApi(): WooCommerceRestApi {
consumerKey,
consumerSecret,
version: "wc/v3",
queryStringAuth: true, // Use query string auth instead of basic auth (more reliable)
});
}
return apiInstance;