OAuth login with accessToken

Hello! I’m building a project with Meteor for web and backend and React Native for mobile. The thing is that I have facebook and google login, which works perfectly in web but I can’t login from React Native.
I’m using react-native-meteor to connect to the server, react-native-google-signin to get Google tokens and react-native-fbsdk to get Facebook tokens.

I saw in the source code of react-native-meteor-oauth that there a way to pass the oauth token to meteor in order to login Meteor._login({ oauth: { credentialToken: config.credentialToken, credentialSecret: config.credentialSecret }} (That Meteor is from the react native package) but I think this no longer works in meteor 1.6

UPDATE:
I followed this guide and now facebook is working (read comments also)

1 Like