How to authenticate to wordpress with React

[ad_1]

Hello to all! I am trying to make a simple react app to fetch data in wordpress, but i am struggling to create the authentication part. Tried many different ways, but always get errors. What i am trying to accomplish is to retrieve data from a specific plugin, using its API, but it wont work if the user is not authenticated. It does not allow non logged users to see the content throught the plugin’s API. Appreciate any help!

 

This site will teach you how to build a WordPress website for beginners. We will cover everything from installing WordPress to adding pages, posts, and images to your site. You will learn how to customize your site with themes and plugins, as well as how to market your site online.

Buy WordPress Transfer