The Version 2.0 of the WP REST API plugin is coming with new cool features and arrangements and every day are more the projects that use 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.
Hello, I installed JWT on my shared server and followed your instructions other than downloading the REST API because my version comes with it installed. When I go to ‘mywebsite.com/wp-json/jwt-auth/v1/token’ all I get is ‘No route was found matching the URL (postman) and request method’ am I missing something? I added the code to .htaccess and code the wp-config. Not sure where I am going wrong and I can’t find any info to help me with this. Please help as I want to use your plugin.
Never mind I figured it out
When will the new version be released?
How to obtain the user ID after having the token?