manifest / integrations / wp-jwt-auth
JWT Authentication for WP-API
Extends the WP REST API using JSON Web Tokens Authentication as an authentication method.
by Arun Chaitanya Jami · github.com/arunchaitanyajami/wp-jwt-auth · website
★ 0stars
3.1kcomposer installs
0forks
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/arunchaitanyajami/wp-jwt-auth/archive/refs/heads/master.zipAlso on Packagist as arunchaitanyajami/wp-api-jwt-auth:
composer require arunchaitanyajami/wp-api-jwt-authFrom the readme
JWT Authentication for the WP REST API
A simple plugin to add JSON Web Token (JWT) Authentication to the WP REST API.
To know more about JSON Web Tokens, please visit http://jwt.io.
Requirements
WP REST API V2
This plugin was conceived to extend the WP REST API V2 plugin features and, of course, was built on top of it.
So, to use the wp-api-jwt-auth you need to install and activate WP REST API.
PHP
Minimum PHP version: 5.3.0
Enable PHP HTTP Authorization Header
Shared Hosts
Most shared hosts have disabled the HTTP Authorization Header by default.
To enable this option you'll need to edit your .htaccess file by adding the following:
WPEngine
To enable this option you'll need to edit your .htaccess file by adding the following (see https://github.com/Tmeister/wp-api-jwt-auth/issues/1):
Installation & Configuration
Download the zip file and install it like any other WordPress plugin.
Or clone this repo into your WordPress installation into the wp-content/plugins folder.
Configurate the Secret Key
The JWT needs a secret key to sign the token. This secret key must be unique and never revealed.
To add the secret key, edit your wp-config.php file and add a new constant
Read the full README on GitHub →
Releases
| Tag | Published |
|---|---|
| v1.0.5 | Feb 23, 2024 |
| v1.0.4 | Dec 13, 2023 |
| v1.0.3 | Nov 29, 2023 |
| v1.0.2 | Nov 29, 2023 |
| v1.0.1 | Oct 21, 2021 |
| v1.0.0 | Oct 21, 2021 |
These releases are tags only. The author does not attach a packaged zip, so there are no download counts to report.