WordPress Plugins

JSON Web Token Authentication for WP REST API

August 04, 2015

Version 2.0 of the WP REST API plugin is coming with new cool features and arrangements and every day more projects are using the WP REST API to build mobile and web apps.

Lately, I’ve been playing with the WP REST API, and even the plugin offers three authentication methods I found some issues trying to implement it.

In a recent project, I’ve been working with an AngularJS app with a NodeJS based API, and I use the JSON Web Token as an authentication method, and let me tell you that works great.

JSON Web Tokens are an open, industry standard RFC 7519 method for representing claims securely between two parties.

For sure, a JWT-based authentication is a must to work with the WP REST API.

The WP API JWT AUTH is my last pet project and is a simple plugin to add JSON Web Token (JWT) Authentication to WP REST API.

You can find all the plugin details, requirements, and usage samples in the Github Repo.

You can add requests or report a bug in the Github Issues Page

Also, I will work on a sample project to use the WP API JWT AUTH in a real-world app.

Said that I encourage you to play with the plugin and let me know if you think that need something else.

Now Available in the WordPress.org Official Repo 

Enrique

Written by Tmeister

Enrique Chavez is a full-stack developer with almost 20 years of experience in the industry. he is an extremely versatile developer working on a plethora of projects, from startups to established companies.

Are you ready to take the plunge? Drop me a line, and let’s chat about your idea!