Are the applications on the same server? If yes, it does not really matter if you use ajax or a normal request for validating the login credentials. Just use a $_POST form for the login and send the data to your application.
If the applications on different server, so the ip is different, you can't use ajax to make a request, because of the security reasons.
Sign in to participate in this thread!
The Laravel portal for problem solving, knowledge sharing and community building.
The community