I would like build a custom login form for users who have an account on another website. I will check the credentials with an API and if they are correct I will create a User Entity and log the user in.
The issue if that I don't have/need any Model attached to my login form. Is there a way to build such a form and process it with validators etc.?
EDIT: I have tried this solution: https://stackoverflow.com/a/35271051/6800816
but submitting the form simply reloads the page ... The action that handles the form on submitting is never being called