March 28, 2022 in Laravel, Php, Technology, Tips and Tricks
429 too many requests laravel 8
I stumbled upon the same problem today and did some debugging. When registering the /login route, Fortify applies the Illuminate\Routing\Middleware\ThrottleRequests:login middleware to it. This means, for every request to that route, the ThrottleRequests middleware will call the RateLimiter instance for that specified key. Apparently, Fortify doesn’t register a RateLimiter for the login key. Due to the missing key in the $limiters property of the RateLimiter instance, the ThrottleRequests middleware uses its […]






