Closed nesbtesh closed 5 years ago
You don't need to send token to the server, its the opposite, the server sends a token to the client and associate a current DDP connection with the token. You can use https://github.com/Gregivy/simpleddp-plugin-login for Meteor.Accounts
logic.
How do you send the token to the server, so that you can access this.userId in the server