I've been tasked with converting our API written in Laravel 5.8 and MaterialCSS to The latest Laravel 8 and Inertia w TailwindCSS.
First step get a working Laravel 6 version -- has proven to be more difficult than I imagined.
We do have a user area for users to make clients and manage their authorized apps, so I have both a /signin route for these users, and because Passport seems to do some sort of magic to redirect to /login this route needs to be a non-inertia page as well as the /authorize route.
No matter what I do I'm unable to bypass Inertia. Passport redirects to the non-inertia page, but it throws mad Inertia related errors.
I'm aware of this issue https://github.com/inertiajs/inertia-laravel/issues/57 and I've even spoke to Jonathan on Twitter regarding the static macro issue for PHP 7.4, but I've not found a way to get this working.
Anyone that can assist I would be eternally grateful.