I am using @gregivy 's awesome simpleddp package and its simpleddp-plugin-login to connect a Vue app to a Meteor server.
However, I realized that after a user logs in, if I refresh the page or switch to a different route, server.userId is undefined and apparently the login is lost.
I’ve read a few other people complaining about this and it looks like the solution involves “saving the login token” somewhere in the Vue app. Now I’ll be honest here: I have no idea what this is supposed to mean, how to do it and how to handle logins this way.
Could anybody help me out?