How to use a single laravel authentication for all subdomains of the same domain?

0

I need to use only one authentication in a laravel project, which is in subdominio1.dominio.com.br . In this subdomain you will have an authentication, and it is working normally, via 'driver' => env('SESSION_DRIVER', 'database') database in session.php . I have another subdomain, subdominio2.dominio.com.br , and I want to use the same authentication that has already been done in subdominio1.dominio.com.br , using the same users table for all subdomains. How do I use this same authentication on all subdomains?

    
asked by anonymous 14.10.2016 / 22:01

0 answers