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?