Commit ba01293a authored by David Seaward's avatar David Seaward

add parameter required for OAuth over HTTPS

parent f79bd450
......@@ -27,7 +27,8 @@ class AuthenticationBackend(BaseBackend):
consumer_key=settings.WOO_CONSUMER_KEY,
consumer_secret=settings.WOO_CONSUMER_SECRET,
wp_api=True,
version="jwt-auth/v1",
version="jwt-auth/v1", # required for JWT Authentication
query_string_auth=True, # required for OAuth over HTTPS
)
jwt_response = jwt_wcapi.post("token", {"username": username, "password": password})
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment