So, to use the wp-api-jwt-auth you need to install and activate WP REST API..
Most of the shared hosting has disabled HTTP Authorization Header by default..
To add the secret key edit your wp-config php file and add constant called JWT AUTH SECRET KEY define.
To enable CORs Support edit your wp-config php file and add constant called JWT AUTH CORS ENABLE define.
Validates the user credentials, username and password, and returns token to use in future request to the API if the authentication is correct or error if the authentication fails..
Sample call using Authorization using AngularJS app config { $httpProvider interceptors push } ).
The wp-api-jwt-auth will intercept every call to the server and will look for Authorization Header, if Authorization header is present will try to decode the token and will set the user according with the data stored in it..
This is helper endpoint to validate token you only will need to make POST request sending Authorization header..
The jwt auth cors allow headers allows you to modify the available headers when CORs support is enabled..
Default Value < php $token = array, 'iat => $issuedAt, 'nbf => $notBefore, 'exp => $expire, 'data => array ) ) jwt auth token before dispatch.
Read more