N
N
nidoh224612020-12-31 02:38:40
Laravel
nidoh22461, 2020-12-31 02:38:40

Single authorization of multiple applications on laravel subdomains?

Several applications on the same .site.com domain with different subdomains, by logging in on one subdomain, the user can walk around others. Installed standard laravel authorization, set 'driver' => env('SESSION_DRIVER', 'cookie'), 'cookie' => env('SESSION_COOKIE', 'auth_session'), 'domain' => ' in config/session file. site.com',
The remeber_me token is attached, but the session values ​​are different, although the domain is '.site.com' everywhere,

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question