Open kyoukhana opened 7 years ago
@kyoukhana how do you solve this in the end?
Is this still relevant? If so, what is blocking it? Is there anything you can do to help move it forward?
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs.
So on my local machine I have all the proper header response information returning. I am using Apache on the local machine. On the live machine is Nginx. With the live machine if the token is not valid it will return a 500 server error. Here is all of my code.
I am using Laravel 5.3. and "tymon/jwt-auth": "0.5.*"
Sample Route that requires auth
I access the route like this
/api/user/track/1/?token=yJ0eXAiOiJKV1QiLCJhbGciOiJIUzI1NiJ9.eyJzdWIiOjEsImlzcyI6Imh0dHA6XC9cL3d3dy5kZXZxaS5jb21cL2FwaVwvYXV0aCIsImlhdCI6MTQ4Njk5OTE3NSwiZXhwIjoxNDg3MDAyNzc1LCJuYmYiOjE0ODY5OTkxNzUsImp0aSI6IjU0OGQ5NDgxMzQ5NzAzZWE5YzQ5MmY2MDI4OTA5NGIwIn0.7laljlbpNO3fHBNs4N3Bt2cBav6UYCp38jl1Zp5lL2k
Handler.php
Kernal.php
The server throws the following in the error log