I have webflow website integrated with memberstack running on a example.com.
I also have a another application on test.example.com
and on that sub-domain I try to get user logged in on example.com
Hi, thanks for you reply.
Sorry, maybe I did not explain this clear enaugh. Its not other way. Webflow + memberstack is running on example.com. Custom app is on sub.example.com.
memberstack cookie is present on sub.example.com and still cannot get logged in user:)
I think that’s the source of the problem. Memberstack can’t pass cookies from one domain to another, so sub.example.com is unaware if a member logs in on example.com.
If you move your signup and login forms to sub.example.com it should start working.
We had to do something similar on memberstack.io and app.memberstack.io/signup. It’s considered a “best practice” since each browser treats cookies differently.