403 jwt_auth_no_auth_header with nginx / kinsta
-
Hi,
I installed the plugin and entered the settings in the wp-config file, but I don’t have any .htaccess file with Kinsta hosting because they are running nginx.
Kinsta helped me out by addingfastcgi_pass_header Authorization;
which is the nginx equivalent to the .htaccess rules that are mentioned in the documentation.
So I guess there is something else wrong, I’m making a post-request with postman to get my token and this is my requesturl:https://mysite.nl/wp-json/JWT-AUTH/V1/TOKEN?username=usernameofadmin&password=mypassword
and this is the result:
{ "success": false, "statusCode": 403, "code": "jwt_auth_no_auth_header", "message": "Authorization header not found.", "data": [] }
I’ve used the username and password of a WP admin user, because I see no option to add a user in the plugin. Could you point me in the right direction?
- The topic ‘403 jwt_auth_no_auth_header with nginx / kinsta’ is closed to new replies.