Login from another web app

Is it possible to have a form on another website app that has Username and Password and action posted to PhPMaker login form. When correct details the user will be automatically logged in on PhpMaker app.
I know there are CSRF token issues which keeps changing

You may enable Allow login by URL from Tools → Advanced Settings to allow passing username and password to the login page as URL parameters.