Passport in laravel 5.4 always return error: "Unauthenticated.", I am calling this api by rest client. I have done all things according to tutorial, But ,always got same error.
Have u tried this solution?
https://github.com/laravel/passport/issues/341
Yes, it is working now. Thank you very much.
I have write down following code in conf file
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.)
RewriteRule . - [e=HTTP_AUTHORIZATION:%1]
I use laravel 5.4.32 and the api auth middleware not run
Most helpful comment
Yes, it is working now. Thank you very much.
I have write down following code in conf file
RewriteEngine On
RewriteCond %{HTTP:Authorization} ^(.)
RewriteRule . - [e=HTTP_AUTHORIZATION:%1]