Viewing 2 replies - 1 through 2 (of 2 total)
  • Modified .htaccess file as following then it works for me, my WordPress installed on on folder /wp1/:

    RewriteEngine On
    RewriteCond %{HTTP:Authorization} ^(.*)
    RewriteRule ^(.*) – [E=HTTP_AUTHORIZATION:%1]
    RewriteBase /wp1/
    RewriteRule ^index\.php$ – [E=X-HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L]
    RewriteCond %{REQUEST_FILENAME} !-f
    RewriteCond %{REQUEST_FILENAME} !-d
    RewriteRule . /wp1/index.php [E=X-HTTP_AUTHORIZATION:%{HTTP:Authorization},QSA,L]

    *Original info come from: https://github.com/auth0/wp-jwt-auth/issues/1

    you surely are putting the header as a parameter in your request

    try putting Authorization in the header , not in the parameters

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘How to validate token ?’ is closed to new replies.