{"repo":"usefulteam/jwt-auth","free":true,"listed":false,"github":"https://github.com/usefulteam/jwt-auth","clone":"git clone https://github.com/usefulteam/jwt-auth.git","description":"WordPress JSON Web Token Authentication","language":"PHP","stars":135,"topics":["wordpress","php","jwt","jwt-authentication","rest-api"],"license":null,"category":"auth-billing-email","readme_excerpt":"JWT Auth WordPress JWT (JSON Web Token) Authentication allows you to do REST API authentication via token. It's a simple, non-complex, and easy to use. This plugin probably is the most convenient way to do JWT Authentication in WordPress. Download it from WordPress plugin page. - Support & question: WordPress support forum - Reporting plugin's bug: GitHub issues tracker - Discord channel also available. Requirements PHP Minimum PHP version: 7.2 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 this issue): Installation Through the WordPress Administrative Area: - From WordPress administrative area, go to Plugins - Add New - Search for JWT Auth - Install it - Easily configure it (see Configuration below) - and then activate it Download Manually: - Download the plugin from WordPress plugins page - Upload to your wp-content directory - Easily configure it (see Configuration below) - Activate it from Plugins menu in admin area Configuration Configurate the Secret Key The JWT needs a secret key to sign the token. It must be unique and never be revealed. To add the secret key , edit your wp-config.php file and add a new constant called JWT AUTH SECRET KEY . You can use a string from here https://api.wordpress.org/secret-key/1","default_branch":null,"files":null,"tree":[],"storefront":"/r/usefulteam","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/usefulteam/jwt-auth/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}