Headless WordPress REST API Authentication
What you'll learn
- How to setup WordPress to handle decoupled authentication
- How to make authenticated WordPress REST API call
- How to use JSON Web Tokens (JWT) and JavaScript for decoupled authentication
- How to store authentication data in secure cookies
- How to handle login and logout forms and processes
- How to add, edit and delete content via the WordPress REST API
Requirements
- Basic JavaScript Skills
- Basic WP REST API Skills
Description
Many developers and top agencies have learned how to use WordPress as a headless CMS, where WordPress stores the content, but Modern JavaScript driven websites and applications display the content and provide customized interactivity.
One of the key components to using WordPress as a Headless CMS involves authenticating to allow full read, write and delete access to everything the WordPress REST API provides.
In this course you will learn the following:
The different types of authentication available
How to work with the JWT Authentication Standard
How to setup WordPress to offer authentication
How to write secure JavaScript to authenticate
How to build login and logout forms
How to add, edit and delete content using authenticated WordPress REST API calls
Throughout the course we will build a custom decoupled project using simple JavaScript, but all of the code can be easily converted over to work with React, Vue, Angular and other JavaScript frameworks.
Who this course is for:
- Theme Developers who want to build decoupled sites powered by WordPress and JavaScript
- Plugin Developers who want to build functionality that works outside of the WordPress admin
- App Developers who want to build JavaScript apps powered by WordPress
- Any Developer looking to use WordPress as a data store
Instructor
Zac Gordon is a professional educator. He has taught WordPress at the high school and college level, in code schools and online at sites like Treehouse. With a Masters in Education and experience working with students of all ages and skill levels, folks say Zac has a knack for explaining things and delivering lessons with enthusiasm.
In addition to teaching WordPress, Zac runs Web Hosting for Students, the worlds largest hosting company dedicated to students and teachers. WH4S provides $25 hosting accounts to students and provides hosting for several large college web programs around the world.