Hello!
There was such a problem, you need to implement cross domain authentication.
The scheme is as follows:
1. On the first domain (user.mysite.com) there is a user's personal account that works on yii2 and through which the authorization will take place.
2. On the second domain (mysite.com) there is an online store on a "samopisny" engine that should work with an authorized user.
3. DB they have one.
4. They lie on the same server in neighboring directories.
5. the "remember me" option should be implemented
Can you make it work? And how best to do it?