rompetomp / inertia-bundle

Inertia.js server-side adapter for Symfony
MIT License
152 stars 39 forks source link

Inertia.post sends parameters in body as json #35

Closed Tofandel closed 2 years ago

Tofandel commented 2 years ago

I'm trying to use inertia to post to the login form but the form is sent in the body as json, which is not being understood by the symfony/security-bundle

Is there a way to convert the post request to use a normal HTTP payload instead, or to convert the received json to the $request->request automatically?

Tofandel commented 2 years ago

Ended up creating my own login controller