Closed rluders closed 1 year ago
Yes I tried to do an upgrade to 1.2 and everything broke down. I was even getting internal server errors loading the backend. This is probably a major reason why, although I probably need to do upgrades in some of my plugins as well.
Hi! Any progress with the plugin to support Laravel 9? I am trying to use it with new October but having errors.
getting error Declaration of RLuders\JWTAuth\Exceptions\JsonValidationException::getStatusCode()
Any update on this?
I've been away from Laravel + Winter CMS for a while... PR to fix this issue is more than welcome.
@rluders I managed to fix the above issue but am now stuck in endless CORS issues. Mostly I resolve it... but this time does not understand what the issue can be. I have exact same plugin code deployed in another server with WinterCms, but I am not able to go ahead due to the CORS issue. the only difference is working server has PHP 7.4 and this new one has 8+
@bkrajendra are you also using the https://github.com/rluders/wn-cors-plugin?
No, i am not using this. I earlier tried this but does not help. I use angular as frontend, I also need error responses to have proper cors, so I prefer adding manually adding to those conditions, I know this is not a proper way to do it. I'll again try this plugin, as I have not tried it with wintercms.
Hi @rluders , With the use of wn-cors-plugin, all working fine now. I have submitted the PR for the changes I made to migrate the plugin to php-open-source-saver/jwt-auth. Please review and merge it.
@rluders can you please review and merge the PR.?
@bkrajendra yep, I will, just need to wait a little bit, I just returned from my vacation. But, I'll review it ASAP, not sure if today or during the week.
@bkrajendra PR merged. It should be good now. If someone found any issue, please let me know by opening another issue.
Now that Winter CMS 1.2 now supports Laravel 9, and
tymon/jwt-auth
seems to be totally abandoned, we need to replace it withphp-open-source-saver/jwt-auth
that is a fork from the tymon's librabry but with support to Laravel 9.If you are using Winter CMS 1.2 and having issues with the plugin let me know on this issue, 'cause this could be the main reason.