Add queryStringAuth to WooCommerce API for better authentication
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user