I’ve been trying for two weeks to get Apollo working with Meteor version 3. I need subscriptions, and I need a way for the server to see the value of Meteor.userId() for authentication purposes.
Does anyone here have some ApolloClient and ApolloServer setup code they could post? It would be greatly appreciated.
UPDATE: I found a way to get the token to the server, and then use that to look up the authenticated Meteor.userId()! I’ll get the client and server code cleaned up and posted here. I still have to get subscriptions working.