Token give my a statusCode 500 back
-
After setup the plugin I got this error message
{
? ? “success”: false,
? ? “statusCode”: 500,
? “code”: “jwt_auth_bad_config”,
? ? “message”: “JWT is not configured properly.”,
? ? “data”: []
}my .htacess looks like
php_value memory_limit 256M
php_value max_input_vars 10000RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.)
RewriteRule ^(.) – [E=HTTP_AUTHORIZATION:%1]
SetEnvIf Authorization “(.*)” HTTP_AUTHORIZATION=$1
RewriteBase /
RewriteRule ^index.php$ – [L]
RewriteCond %{REQUEST_FILENAME} !-f
RewriteCond %{REQUEST_FILENAME} !-d
RewriteRule . /index.php [L]and in wp_config.php
this 2 lines also inside.
/** Absolute path to the WordPress directory. /
if ( ! defined( ‘ABSPATH’ ) ) {
define( ‘ABSPATH’, dirname( FILE ) . ‘/’ );}
define( ‘JWT_AUTH_SECRET_KEY’, ‘my-top-secret-key’ );
define( ‘JWT_AUTH_CORS_ENABLE’, true);
/** Sets up WordPress vars and included files. */
require_once( ABSPATH . ‘wp-settings.php’ );Can anyone help me?
BR
Andy
- You must be logged in to reply to this topic.