-
-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Consistent 404s after login on Laravel 9 #8
Comments
I believe |
After copying Laravel's
|
Can you track where it is redirecting to? On success it should redirect to the "intended" route or "/". |
Yes, so the login is at: https://my-domain.local.test.io/myprefixed/path/stagefront/ And on either failure or success it goes to: https://my-domain.local.test.io/myprefixed/path/stagefront/stagefront/ No validation errors come through. |
Hello!
I saw issue #4 and I thought it might solve my problem but unfortunately it doesn't help.
The problem
After installing the project via composer, I then add the middleware:
(Note this is the only place to add it, there is no
$middlewarePriority
for Laravel 9 from what I can tell).After this, I add these
.env
valuesThe stagefront page loads successfully but any successful or unsuccessful logins get immediately redirected to a 404.
I have cleared and populated the cache with
route:cache
and ran into the same problems.Thanks, and I hope you can help!
The text was updated successfully, but these errors were encountered: