laravel / framework

The Laravel Framework.
https://laravel.com
MIT License
32.65k stars 11.04k forks source link

Laravel 9.21 break guards on laravel octane #43353

Closed farmani closed 2 years ago

farmani commented 2 years ago

Description:

I'm using octane and openswoole after upgrading to laravel 9.21 all guards stop working and cannot authenticate logged in users and return 401 (unauthenticated) revert to laravel 9.20 resolve the issue.

Steps To Reproduce:

farmani commented 2 years ago

do we have some changes in 9.21 may impact on guards?

driesvints commented 2 years ago

Hey @farmani. Can you try out 9.21 and revert the changes below to see if that works?

Screenshot 2022-07-22 at 09 32 06
farmani commented 2 years ago

@driesvints yes you are right reverting back those changes on 9.21 and guard work again on 9.21 as well

farmani commented 2 years ago

https://github.com/jenssegers/laravel-mongodb/issues/2424 it seems reported to laravel mongodb package as well

driesvints commented 2 years ago

Thanks, I've sent in a PR to revert this. We'll cut a new release hopefully soon.