Shared accounts between 2 apps

Hey guys!

My problem is I would like for the users to log into app one, and then if they click on a link to app2. It should keep them logged in, so they don’t have to log in again.

I’m using the shared account https://docs.meteor.com/api/accounts-multi.html, and followed this GitHub example https://github.com/tmeasday/multi-app-accounts. And I get the right user when it console.log the account2.user() in the end.

But whenever I’m refreshing the new page / or opening a new tap with the app 2, the user is not logged in. Anyone can see what I’m missing or done something similar? :slight_smile:

Thanks!