← Back to JWT Auth API Support
Hi, I followed the manual and was able to get a token response from login, but when I try to put this on a route it keeps saying token not provided. I'm using postman to test this and I believe I've setup the headers correctly.
Fixed it by adding in {root}.htaccess file RewriteCond %{HTTP:Authorization} ^(.) RewriteRule . - [e=HTTP_AUTHORIZATION:%1]
Last updated
Missing * in second line.
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
Kabira Paresh said:
RewriteCond %{HTTP:Authorization} ^(.*)
RewriteRule .* - [e=HTTP_AUTHORIZATION:%1]
Can confirm that this works with https://octobercms.com/plugin/rluders-jwtauth plugin also.
Hello, I have encountered issue similar to this would like to ask if where should I make an edit in order to fix this issue?
Found it, the file is located on "{root of project}/.htaccess"
Last updated
1-4 of 4