Refresh your config cache? You could try regenerating the passport key or clients
Jul 28, 2020
4
Level 9
401 Unauthorised API errors after upgrading from ^6.2 to ^7.0
I have just upgraded Laravel and all my API routes are returning a 41 unauthorised error despite successfully logging in.
I did follow this upgrade documentation: https://laravel.com/docs/7.x/upgrade
PS: I am using Passports CreateFreshApiToken class in my web middleware.
Any ideas ? 🤔
Level 9
Fixed by updating Passport too!
"laravel/passport": "^9.3",
I guess this has something to do with it: https://blog.laravel.com/security-release-laravel-61827-7220
1 like
Please or to participate in this conversation.