Title: WCFM REST API WordPress
Last modified: October 3, 2021

---

# WCFM REST API WordPress

 *  Resolved [k4mr4n](https://wordpress.org/support/users/k4mr4n/)
 * (@k4mr4n)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wcfm-rest-api-wordpress/)
 * I am using WCFM multivendor marketplace and I am making custom menu for WCFM 
   vendor, in this custom menu I am implementing WCFM REST API for creating products,
   I need to do basic authetication for REST API, right now I can get vendors username
   form database but since password is hashed I cannot use it, since I cannot use
   it, I need to ask it again in my custom menu, is there a way that I can get wordpress
   username and password from first login try, I dont want to vendor enter his wordpress
   password again in my custom menu for WCFM REST API.
 * “Authorization: Basic “. base64_encode(username:password)

Viewing 1 replies (of 1 total)

 *  Plugin Author [WC Lovers](https://wordpress.org/support/users/wclovers/)
 * (@wclovers)
 * [4 years, 7 months ago](https://wordpress.org/support/topic/wcfm-rest-api-wordpress/#post-14935705)
 * For this purpose you need to work with JWT authentication method. As you see 
   in basic authentication you need to send the username and password every time
   for every request. So you need to ask the user every time for password or store
   the password, none of which is recommended.
    So if you use JTW auth you can generate
   the the login token first time then use that token for further fetching of API
   data.

Viewing 1 replies (of 1 total)

The topic ‘WCFM REST API WordPress’ is closed to new replies.

 * ![](https://ps.w.org/wc-frontend-manager/assets/icon-256x256.jpg?rev=1800818)
 * [WCFM - Frontend Manager for WooCommerce](https://wordpress.org/plugins/wc-frontend-manager/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wc-frontend-manager/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wc-frontend-manager/)
 * [Active Topics](https://wordpress.org/support/plugin/wc-frontend-manager/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wc-frontend-manager/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wc-frontend-manager/reviews/)

## Tags

 * [authetication](https://wordpress.org/support/topic-tag/authetication/)
 * [restapi](https://wordpress.org/support/topic-tag/restapi/)

 * 1 reply
 * 2 participants
 * Last reply from: [WC Lovers](https://wordpress.org/support/users/wclovers/)
 * Last activity: [4 years, 7 months ago](https://wordpress.org/support/topic/wcfm-rest-api-wordpress/#post-14935705)
 * Status: resolved