hassan_syyid
08/11/2021, 7:30 PMhttp
then you have to use OAuth 1
but if on https
you have to use OAuth 2
https://woocommerce.github.io/woocommerce-rest-api-docs/#authentication-over-httpedgar_ramirez_mondragon
08/11/2021, 7:35 PM@property
def authenticator(self):
"""Return a new authenticator object."""
if self.config["url"].startswith("https"):
return OAuth2Authenticator.create_for_stream(self)
else:
return OAuth1Authenticator.create_for_stream(self)
aaronsteers
08/11/2021, 7:45 PMaaronsteers
08/11/2021, 7:46 PMaaronsteers
08/11/2021, 7:47 PMhassan_syyid
08/11/2021, 9:48 PMjazzy
08/19/2021, 7:57 AMhassan_syyid
08/19/2021, 1:33 PM