I want to know the best practice to create a SSO with Meteor.
My apps structure:
accounts.domain.comwhich handles register/login
Currently when a user
register | login in
accounts.domain.com I drop the
userLoginToken in a Cookie. This apps also have a publication:
In my other apps I subscribe to
users.current and when
added is called I use
Accounts.loginWithToken to login. It works great!
logout & logoutOtherClients the user from any other apps the user is disconnected and redirected to a public page. Great again.
My issue is when I login again, the subscription seems to be lost because it doesn’t re-trigger the
Any idea ?