From the course: WordPress: REST API
Unlock the full course today
Join today to access over 24,800 courses taught by industry experts.
JWT authentication: Third-party editing - WordPress Tutorial
From the course: WordPress: REST API
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…
Practice while you learn with exercise files
Download the files the instructor uses to teach the course. Follow along and learn by watching, listening and practicing.
Contents
-
-
-
-
-
-
(Locked)
Four practical examples1m 24s
-
(Locked)
Read only: Load next post using REST API8m 23s
-
(Locked)
Cookie authentication: Front-end editing6m 21s
-
(Locked)
Basic standalone app7m 22s
-
(Locked)
JWT authentication: Third-party editing7m 13s
-
(Locked)
Challenge: Add dynamic related posts navigation4m 32s
-
(Locked)
Solution: Add dynamic related posts navigation5m 7s
-
(Locked)
-