Can’t authenticate to the REST API using oauth
-
Describe the bug
Can’t connect to the REST API using oauthExpected behavior
Both via frontend or using postman I should be able to connect to the api using oauth1.0.Actual behavior
While I can access the resources through basic authentication,this does not work when I try to authenticate using oauthSteps to reproduce the bug:
Create a new key for the rest api
Open postman and try to GET resources with basic auth (success) (e.g. https://www.example.subdomain.com/wp-json/wc/v3/products)
Try to switch to oauth1.0 authentication method
Send the GET request to the same url
Get a 401 error “Invalid signature – provided signature does not match.”Isolating the problem (mark completed items with an [x]):
I have deactivated other plugins and confirmed this bug occurs when only WooCommerce plugin is active.
This bug happens with a default WordPress theme active, or Storefront.
I can reproduce this bug consistently using the steps above.
- The topic ‘Can’t authenticate to the REST API using oauth’ is closed to new replies.