@girish Once you have installed the plugin and made the changes you have to check out this url : https://yourdomain.com/wp-json/jwt-auth/v1/token
if its correctly configured it should work. If not you get the 404 error
ketchalegend
Posts
-
Wordpress JWT Authetication Plugin -
Wordpress JWT Authetication Plugin@girish is the HTTP Authorization Header deactivated?
-
Wordpress JWT Authetication Plugin@ketchalegend said in Wordpress JWT Authetication Plugin:
RewriteRule ^(.) - [E=HTTP_AUTHORIZATION:%1]
so you mean i dont have to make any changes to the htaccess file?
-
Wordpress JWT Authetication PluginDue to the fact that the wordpress App is running on ngnix, i cant get the JWT Auth plugin to work even after i edited the .htaccess and added following
rewriteCond %{HTTP:Authorization} ^(.)
RewriteRule ^(.) - [E=HTTP_AUTHORIZATION:%1]
SetEnvIf Authorization "(.*)" HTTP_AUTHORIZATION=$1I still get {"code":"rest_no_route","message":"No route was found matching the URL and request method","data":{"status":404}} when trying to access this url: websiteurl/wp-json/jwt-auth/v1/token
Is it possible to make some changes to the ngnix sites-enabled default file? Or how can i solve this issue.
thanks