Open eleiva opened 10 years ago
I came across the same problem and figured out this way :
Go to Storage.php file in your Hybrid extension directory and add following line on top in the __construct() method
session_set_cookie_params(0, '/', '.yourdomain.com');
Eureka !
Hi All!
I'm working in a multidomain site and i need to maintain user logged in between sub-domains.
So I have this config in my main.php
It works great, i can login in foo.mydomain.com and stilll logged in when access another.mydomain.com, so only left to do the same with hybridauth .
So i change baseUrl in hybridauth.php ( config )
But i get
The problem seems to be in the session. When i remove yii session config detailed before, i could login with both domains but without sharing info ( i have to login twice first in foo.mydomain.com and next in another.mydomain.com )
Any Ideas?