REST API Basic Auth or auth by parameters not working

We're shifting our Forum based support to a more dedicated support system!

We'll be closing our Forum support from 10th June, 2020 and move to Email Support assistance.

  • If you are a WCFM premium add-ons user, contact us- here
  • Want to know more before buying our add-ons? Send Pre sale queries- here
  • If you are a WCFM free user, please open a support ticket at WordPress.org
  • For WCFM App related queries, reach us- here
From now the forum will be read-only!

Multi Vendor Marketplace Plugin | WCFM Marketplace Forums WCFM Marketplace – REST API REST API Basic Auth or auth by parameters not working

Viewing 1 reply thread
  • Author
    Posts
    • #105200
      itsgauravjain22
      Participant

      I am getting 401 error on providing vendor username and password in basic auth header as well as via {{url}}/wp-json/wcfmmp/v1/products?username={{username}}&password={{password}} in postman.

      Following is the response of rest API:

      
      {
          "code": "rest_forbidden",
          "message": "Sorry, you are not allowed to do that.",
          "data": {
              "status": 401
          }
      }
      

      I followed this official documentation regarding authentication.

    • #105671
      WCFM Forum
      Keymaster

      Please check this – https://docs.wclovers.com/wcfm-app/

      You have to setup API access as well.

      Thank You

Viewing 1 reply thread
  • You must be logged in to reply to this topic.