Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 59525

OAuth not working with WooCommerce REST API

$
0
0

Replies: 0

I am working on an app that integrates with various clients WooCommerce plugins via the WooCommerce API. We use the consumer_key and consumer_secret to authenticate our requests. Since some of our clients have moved to WooCommerce 5 we have been having trouble with OAuth for our clients using http sites. I am receiving 401 (woocommerce_rest_authentication_error : Consumer key is invalid) on every request even though I am using OAuth 1.0 as described in the documentation here (https://woocommerce.github.io/woocommerce-rest-api-docs/#authentication-over-http), and the consumer key and secret are correct. I cannot get a request to complete in Postman or in code (.NET C#).


Viewing all articles
Browse latest Browse all 59525

Trending Articles