Tmeister / wp-api-jwt-auth

A simple plugin to add JSON Web Token (JWT) Authentication to WP REST API
GNU General Public License v2.0
549 stars 159 forks source link

Some problem after changing my wordpress permalink #202

Open Clashman16 opened 4 years ago

Clashman16 commented 4 years ago

Hi, @Tmeister !

I have a little problem : I switched my permalink to sample. Now, /wp-json/jwt-auth/v1/token return the homepage of my website. Can you help me ?

my .htcaccess : `SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1

RewriteEngine On RewriteBase / RewriteRule ^index\.php$ - [L] RewriteCond %{REQUEST_FILENAME} !-f RewriteCond %{REQUEST_FILENAME} !-d RewriteRule . /index.php [L] `