Closed daverdalas closed 1 year ago
Laravel Nova middleware called nova use Laravel\Nova\Http\Middleware::class which cause infinite redirects. Default withAuthenticationRoutes and withPasswordResetRoutes route group is web so it doesn't make sens to add nova middleware group there.
nova
Laravel\Nova\Http\Middleware::class
withAuthenticationRoutes
withPasswordResetRoutes
web
We use the approach described in the docs in our SaaS boilerplate and it works perfectly.
Laravel Nova middleware called
nova
useLaravel\Nova\Http\Middleware::class
which cause infinite redirects. DefaultwithAuthenticationRoutes
andwithPasswordResetRoutes
route group isweb
so it doesn't make sens to addnova
middleware group there.