How to setup Restful API via JWT Authentication in WordPress - XiaoFaye/WooCommerce.NET GitHub Wiki
- Download and install JWT Authentication for WP REST API plugins.
- Add the secret key, edit your wp-config.php file and add a new constant called JWT_AUTH_SECRET_KEY, this secret key must be unique and never revealed.
define('JWT_AUTH_SECRET_KEY', 'your-top-secret-key');
- Make sure adding below two lines in .htaccess file if using Apache.