jwt_auth_bad_config
-
Hi all,
Not sure if anyone is still having a problem with this but I know it was discussed previously.
Whenever I try to login to a WP site using the JWT plugin, I am getting a 403 ‘jwt_auth_bad_config’ error code. I’ve tried everything suggested:
1. I’ve tried moving:
define('JWT_AUTH_SECRET_KEY', 'secret_key'); define(‘JWT_AUTH_CORS_ENABLE’, true); define('WP_DEBUG', true);
to above WP_DEBUG in wp_config as shown.
2. I’ve edited my .htaccess file to reflect:
# BEGIN WordPress <IfModule mod_rewrite.c> RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] RewriteCond %{HTTP:Authorization} ^(.*) RewriteRule ^(.*) - [E=HTTP_AUTHORIZATION:%1] SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1 </IfModule> # END WordPress
I’m still receiving the error after all of this. Does anyone know if there is a workaround?
Viewing 4 replies - 1 through 4 (of 4 total)
Viewing 4 replies - 1 through 4 (of 4 total)
- The topic ‘jwt_auth_bad_config’ is closed to new replies.