WP-API / Basic-Auth

Basic Authentication handler for the JSON API, used for development and debugging purposes
772 stars 286 forks source link

Woo API not working after SSL Install #58

Open wilkesy opened 6 years ago

wilkesy commented 6 years ago

Hi,

Been using the API for several months with no issues at all. Got my site ready for release and added an SSL to it. Ever since i constantly get the 'Error: Sorry, you are not allowed to create resources. ' when trying to do anything. I have reset all of the keys, created new users but cannot get anything to work.

As per any site, i want to keep the SSL but really need to get the API working as this does all my new products and also updates my stock.

Thanks.

igitur commented 5 years ago

I'm not sure if it is related to your SSL, but I experienced the same error message with my SSL WooCommerce site. I had to add this to my .htaccess file:

SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

Read more...