Title: API oAuth1 error
Last modified: January 5, 2020

---

# API oAuth1 error

 *  Resolved [stathisaska](https://wordpress.org/support/users/stathisaska/)
 * (@stathisaska)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/api-oauth1-error/)
 * Hello everyone,
 * I am trying to integrate with WC using REST API.
 * Unfortunately, due to a bad hosting solution selected, I cannot install SSL on
   the sandbox domain. Only on the main domain, but at the moment this project is
   just starting.
 * So I am using the http authentication with oAuth1, but I get the following response
 * {
    “code”: “woocommerce_rest_authentication_error”, “message”: “Invalid signature–
   provided signature does not match.”, “data”: { “status”: 401 } }
 * I am using Postman to send the request, the key/secret are definitely correct,
   I am doing exactly what this guy does in [this](https://www.damiencarbery.com/2019/06/woocommerce-rest-api-authentication/)
   post, but I can’t get list of orders.
 * The server is nginx/1.15.6, I have tried creating new keys, tried passing parameters
   on url, tried a terminal curl command. No successful results until now. Can it
   be a problem/configuration on the server I need to request from my hosting provider?
   Their support is abysmal, I contacted them and the response I got was “Where 
   exactly do you see this error” LOL and I never use the LOL abbreviation for the
   last 10 years.
 * I ‘ve lost almost a day on this, I am desperate.

Viewing 4 replies - 1 through 4 (of 4 total)

 *  [3 Sons Development](https://wordpress.org/support/users/3sonsdevelopment/)
 * (@3sonsdevelopment)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/api-oauth1-error/#post-12310039)
 * Hello [@stathisaska](https://wordpress.org/support/users/stathisaska/),
 * Have you tried using basic auth with Postman instead? You can enter the key/secret
   into the username/password fields and submit your request that way.
 * ![basic auth](https://cdn-std.droplr.net/files/acc_705319/9MvLey)
 * I often do that when testing out something with the REST API and it typically
   works well.
 * Let me know if you still run into trouble.
 *  Thread Starter [stathisaska](https://wordpress.org/support/users/stathisaska/)
 * (@stathisaska)
 * [6 years, 4 months ago](https://wordpress.org/support/topic/api-oauth1-error/#post-12310978)
 * This works with https. My problem is referring to the oAuth1 for the http request
 *  Plugin Support [John Coy a11n](https://wordpress.org/support/users/johndcoy/)
 * (@johndcoy)
 * Automattic Happiness Engineer
 * [6 years, 3 months ago](https://wordpress.org/support/topic/api-oauth1-error/#post-12411566)
 * Hi [@stathisaska](https://wordpress.org/support/users/stathisaska/)
 * This doesn’t appear to be a problem with WooCommerce core. I’d suggest you get
   with your hosting company to see if there is anything more that they can help
   to authenticate the request for the staging site.
 *  Thread Starter [stathisaska](https://wordpress.org/support/users/stathisaska/)
 * (@stathisaska)
 * [6 years, 3 months ago](https://wordpress.org/support/topic/api-oauth1-error/#post-12411571)
 * Hello [@johndcoy](https://wordpress.org/support/users/johndcoy/)
 * I deployed an SSL, skipped the oAuth1 authentication and now everything is working
   like a charm. However,I need to say that oAuth1 doesn’t seem to work. Not in 
   Postman, not in terminal not anywhere.
    -  This reply was modified 6 years, 3 months ago by [stathisaska](https://wordpress.org/support/users/stathisaska/).

Viewing 4 replies - 1 through 4 (of 4 total)

The topic ‘API oAuth1 error’ is closed to new replies.

 * ![](https://ps.w.org/woocommerce/assets/icon.svg?rev=3234504)
 * [WooCommerce](https://wordpress.org/plugins/woocommerce/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/woocommerce/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/woocommerce/)
 * [Active Topics](https://wordpress.org/support/plugin/woocommerce/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/woocommerce/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/woocommerce/reviews/)

## Tags

 * [api](https://wordpress.org/support/topic-tag/api/)
 * [curl](https://wordpress.org/support/topic-tag/curl/)
 * [postman](https://wordpress.org/support/topic-tag/postman/)

 * 4 replies
 * 3 participants
 * Last reply from: [stathisaska](https://wordpress.org/support/users/stathisaska/)
 * Last activity: [6 years, 3 months ago](https://wordpress.org/support/topic/api-oauth1-error/#post-12411571)
 * Status: resolved