I have this scenario where I have 4 websites built with Laravel 6 and all of them resides on same server and all of them are subdomains e.g.
https://business.mywebsite.com
the issue is in https://account.mywebsite.com, if I'm authenticated there already, the rest of the Laravel websites must be also authenticated so simply a single sign in mechanism. What I'm thinking right now, If I can access the authentication session or cookie from the account website (https://account.mywebsite.com), or from the account subdomain set a custom auth cookie/session then the rest of the Laravel websites access that auth cookie/session then I can authenticate the rest of the Laravel websites. I believe, each Laravel store unique session and cookie.
Session::put('key', 'value');
Cookie::get('name');
so any ideas, help on how to access a cookie or session from other Laravel app that is also on same server?