From the course: WordPress: REST API

Unlock the full course today

Join today to access over 22,600 courses taught by industry experts or purchase this course individually.

JWT authentication: Third-party editing

JWT authentication: Third-party editing - WordPress Tutorial

From the course: WordPress: REST API

Start my 1-month free trial

JWT authentication: Third-party editing

- [Instructor] The WordPress REST API allows third party applications to edit content in the WordPress database provided the correct authentication procedures are in place. In the exercise files for this movie, you'll find another stand-alone application called WP Edit. Again, you can place this folder anywhere on your computer, it doesn't matter, it doesn't need to live inside WordPress because this is a separate third party application. The WP Edit application assumes you have JWT set up and working on your WordPress site, and we covered this in the previous chapter, so if you haven't done it, you need to go follow that instruction and set up JWT to work on whatever site you want to test this with. To use the application with that site, you also have to set up the URL for that site inside the two JavaScript files. So jwt.js at the very top, the restRoot needs to be set to the current site. You'll see I've set it to…

Contents