Unable to find the controller for path "/api/login_check" Again #1089
Replies: 5 comments 4 replies
-
@chalasr Why was my issue moved here? |
Beta Was this translation helpful? Give feedback.
-
Not sure if this helps, but: I've noticed that omitting "success_handler" in security.yaml results in the [Unable to find the controller for path "/login_check". The route is wrongly configured.] error (when you /login_check with correct credentials for a user). Which, by extension, means that a customised - and broken - success handler could also give this error. Omitting failure_handler doesn't generate any errors (when you /login_check with incorrect credentials for a user) - it's simply a slightly different JSON response to the default failure handler. |
Beta Was this translation helpful? Give feedback.
-
Are you sending the request with the |
Beta Was this translation helpful? Give feedback.
-
|
Beta Was this translation helpful? Give feedback.
-
To avoid the 404 error, it is necessary to inform the access data and with the header |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
I've encountered the same problem earlier but fix from the issue [] (#1014) helped (i deleted ^ in fornt of api in security.yaml). Now the problem is back and nothing seems to help
security.yaml
`
routes.yaml
`
I'll be greatfull for any direction, at this point I feel like I've run out of options.
Beta Was this translation helpful? Give feedback.
All reactions