Open Imdamandude94 opened 9 months ago
I am experiencing the same issue. I hope a response is forthcoming.
Fixed the issue.
You must define your secret key above this PHP line:
/* Sets up WordPress vars and included files. / require_once(ABSPATH . 'wp-settings.php');
Issue Name
Prerequisites
Please answer the following questions for yourself before submitting an issue.
Context
I have setup my .htaccess and wp-config as instructed in the documentation but when i run my POST https://hummrah.com/wp-json/jwt-auth/v1/token, i get the error "JWT is not configured properly, please contact the admin". This is my .htaccess:
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1
Expected Behavior
Token received and a 200 status
Current Behavior
Bad config error
Please provide detailed steps for reproducing the issue.
Failure Logs
{ "code": "jwt_auth_bad_config", "message": "JWT is not configured properly, please contact the admin", "data": { "status": 403 } }