ajaxlaravelauthentication

login and logout in several laravel projects


good morning. I have several domains and subdomains with Laravel. One of the subdomains does the login, logout and verification tasks. My question is, how can I log in to the rest of the subdomain that I log in? The bigger problem I have is that it does not log in to the site but it runs online? And that I send a request, it is sent, but the answer does not come for Ajax to show, but it comes in the network thanks.


Solution

  • Perhaps you could make a database table that checks the user logins that will also expire. So when a user enters your sub domains it checks via ip(not recommended) or other things if that user is logged in.