Black Friday

A deal you can't resist! Get upto 20% OFF on this entire cyber week.

Claim Offer
03Day 19Hr 29Min 11Sec
Black Friday

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!

Best Multi Vendor Marketplace Plugin for WordPress › 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
      Member

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

      You have to setup API access as well.

      Thank You

Viewing 1 reply thread
  • The topic ‘REST API Basic Auth or auth by parameters not working’ is closed to new replies.