You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Please answer the following questions for yourself before submitting an issue.
[y ] I am running the latest plugin version
[ y] I am running the latest WordPress version
[ y] I know what PHP version I'm using
[y ] I checked the documentation and found no answer
[ y] I checked to make sure that this issue has not already been filed
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:
RewriteEngine On
RewriteRule ^(.)$ - [E=HTTP_AUTHORIZATION:%1]
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.)
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:
RewriteEngine On
RewriteRule ^(.)$ - [E=HTTP_AUTHORIZATION:%1]
RewriteEngine on
RewriteCond %{HTTP:Authorization} ^(.)
RewriteBase /~hummrahc/
RewriteRule ^index.php$ - [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /~hummrahc/index.php [L]
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
}
}
The text was updated successfully, but these errors were encountered: