If I go to www. neos. dev/authenticate I get: Validation failed while trying to call VMP\Auth\Controller\AuthenticationController->authenticateAction().
SO I think the route is working - but it still might be working inproperly, since when I actually submit the login form with some proper credentials [ action=“authenticate” ] I get:
Page Not Found
Sorry, the page you requested was not found.
#1301610453: Could not resolve a route and its corresponding URI for the given parameters. This may be due to referring to a not existing package / controller / action while building a link or URI. Refer to log and check the backtrace for more details.
Since I’m new to Neos/Flow, I have no Idea what’s wrong here. I also can’t find any Exception Logs.
Note: I took out the @ in the route because this board thought I was refereing to users
And how can I get rid of the route? Somehow, ForntEndLogin Plugin which is shipped with neos does not use ane routes, but I cant see why.
As you can see in the section Request Pattern of ´the security docs the authentication switches between the pattern to match one provider to authenticate.
In the FrontendLogin Plugin is a new authentication provider defined in the Settings.yaml:
With this command you add a new User with the authentication provider “Flowpack.Neos.FrontendLogin:Frontend”.
If a user tries to login in a form the authentication will try step by step the defined provider until one works.
i hope i understand the authentication enough to not tell you no shit
I think for a simple login form you don´´´´´´’t need to have a separate route for the authentication.
The form should only point to your own authentication Controller (Fluid Form).
I’m not really using <f:form> like FrontendLogin Plugin, so thats probably why I need routing. The docs say that I need routing. I want to make it work with routing. Using f:form will be the next step, so sry, thsi doesn’t help me. but thanks
If you want to create a basic login form that is maybe inside the main template of the site without the use of a plugin, you can add a simple form like this: