Why does Laravel Fortify send a redirect on an API Request?
I´m using Laravel (10) Fortify (with Sanctum), to authenticate requests to the REST API. It works quite well but I´ve one serious issue and I think it´s simply a configuration problem: Whenever an API request on a Fortify route fails…