Join GitHub today
GitHub is home to over 40 million developers working together to host and review code, manage projects, and build software together.Sign up
JWT auth #399
RestAPI rest = new RestAPI("http://www.mydomain.com/wp/wp-json/jwt-auth/v1/token", "", ""); WCObject wc = new WCObject(rest);
Details of the error message if there is any
Exception is thrown:
Exception is thrown at https://github.com/XiaoFaye/WooCommerce.NET/blob/master/WooCommerce/v2/WCObject.cs#L21 because
I see recent changes have been made to https://github.com/XiaoFaye/WooCommerce.NET/blob/master/RestAPI.cs#L81 to set the url and
Sorry to say this, but the documentation is really poor. I can't figure out what the prerequisites to do just a normal set up. For example, I also realised that https is required for basic auth. This is a WooCommerce requirement, but I would have expected this to be explicitly listed in this repo's README.
Are the JWT or OAuth plugins a prerequisite or are they an optional alternative way of authenticating?
And many more questions....
Dude, I promise I will buy you a coffee
Hi, sorry if the document got you confused.
Thanks for your suggestions, I will try to improve the documents and make it more user-friendly.