laravel / sanctum

Laravel Sanctum provides a featherweight authentication system for SPAs and simple APIs.
https://laravel.com/docs/sanctum
MIT License
2.77k stars 299 forks source link

Only in Sanctum 3 - Fix/unable to logout #512

Closed WillRy closed 7 months ago

WillRy commented 7 months ago

Sanctum Version

3.*

Laravel Version

10.*

PHP Version

8.2

Database Driver & Version

Any

Description

Hello everybody,

They recently fixed a bug in sanctum, which made consecutive logout and login impossible with different users. The fix works very well, but it was only applied to Sanctum 4.

The bug still remains in sanctum 3, which is used by laravel 10, which is a version that still has time for bug updates.

Could you bring this solution to laravel 10? this would help a lot

The fix that worked was applied in issue #511

Thanks to everyone

Steps To Reproduce

The same of this issue:

https://github.com/laravel/sanctum/pull/511

crynobone commented 7 months ago

Hey there,

Unfortunately we don't support this version of the library anymore. Please check out our support policy on which versions we are currently supporting. Can you please try to upgrade to the latest version and see if your problem persists? If so, please open up a new issue and we'll help you out.

Thanks!