Invalid_request for custom login page

Hello, I implemented Auth Js plugin into my custom login page and for some reason it’s not working. I have to specify that is the same code as the original custom login page code, I have the same classes and ids. Can you please take a look: https://psmfrontend.z16.web.core.windows.net/

Many many thanks!