Open veronesecoms opened 5 years ago
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.
When i try to make a http request in a middleware group with the jwt.auth i receive:
| Bug? yes | Framework | Laravel | Framework version | 5.6 | Package version | Try using "barryvdh/laravel-cors": "^0.9.2", and "tymon/jwt-auth": "^0.5.12" | PHP version | PHP 5.6.36 (cli) (built: Apr 25 2018 16:45:32)
I have this routes without the jwt middleware:
This works normally but when i try to make a http request in a group with the jwt auth i receive cors errors:
I try:
I add in Kernel.php the cors package:
In cofig/cors.php:
Also tried put in the public/index.php: