You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@zyonnetworks It is not documented, but after some digging I found that Meteor._loginWithToken works just fine. This is only available on the client, so I recommend you make a method that returns Accounts._generateStampedLoginToken() for the token needed.
It would look something like this:
//Server
const stampedToken = Accounts._generateStampedLoginToken();
//Client
//import Meteor from 'react-native-meteor';
Meteor._loginWithToken(stampedToken.token);
Please add this function to '/node-modules/react-native-meteor/src/user/User.js' so that we can use Meteor.loginWithToken
The text was updated successfully, but these errors were encountered: