You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I've been battling this issue for days but I can't find a solution for the life of me.
When using $this->redirectToRoute() inside a controller, it triggers an unexpected 403 error making inertia pop up a modal stating "Something went wrong with Inertia!"
The problem only arises when using Link components. When a user goes to / with their browser directly, the redirection is properly interpreted and the correct page is called.
I tried using the Security bundle, as well as with a barebone install, no luck.
I can't figure out if it's an Inertia issue or if the problem comes from the Symfony adapter.
The text was updated successfully, but these errors were encountered:
I've been battling this issue for days but I can't find a solution for the life of me.
When using
$this->redirectToRoute()
inside a controller, it triggers an unexpected 403 error making inertia pop up a modal stating "Something went wrong with Inertia!"Example controller:
The problem only arises when using
Link
components. When a user goes to/
with their browser directly, the redirection is properly interpreted and the correct page is called.I tried using the Security bundle, as well as with a barebone install, no luck.
I can't figure out if it's an Inertia issue or if the problem comes from the Symfony adapter.
The text was updated successfully, but these errors were encountered: