mardi 8 mai 2018

Authentication subdomain in laravel 5.6

I have login page in url http://account.my-website.com, after authenticated I want user redirect to http://dashboard.my-website.com. I have already set SESSION_DOMAIN=.my-website.com, but in url dashboard.my-website.com it's not detected that I have authenticated, so I return to login page, but in http://account.my-website.com I already logged in, endless redirect and error. How I achieve login in different subdomain for another subdomain in laravel, thanks.



via Chebli Mohamed

Aucun commentaire:

Enregistrer un commentaire