Ok, so it seems to be a bug. https://github.com/laravel/framework/issues/11970
In my case it also redirects as a GET request...

Does anyone know a way to work around it?
Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.
Hi guys,
I have three tables - cards, notes, and users - with one-to-many relationships between cards and notes, and users and notes, respectively.
When users visit a Card page, they can fill in a form and POST a new Note. If not yet authenticated, they are redirected to the login page. For a visual cue:

My routes and controller:


After logging in I get MethodNotAllowedHttpException for 'store' and 'update' methods.
I do not get an error when creating or updating a note if the user is already signed in.
Does anyone have any idea why this is happening and how I could fix it?
Please or to participate in this conversation.