We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
I managed to do facebook login like this:
ApiV1.addRoute('facebooklogin', {authRequired: false}, { post: { action: function () { var accessToken = this.bodyParams.accessToken || this.urlParams.accessToken; var email = this.bodyParams.email; var name = this.bodyParams.name; if (accessToken) { return facebookLoginWithAccessToken(accessToken, email, name) } return { statusCode: 400, body: { status: "fail", message: "Unable to Post to FB Login. Values Received: accessToken: " + accessToken + ", email: " + email + ", name: " + name } }; } } });
where the function facebookLoginWithAccessToken is from here: http://stackoverflow.com/questions/18118503/how-can-i-login-to-meteor-with-native-device-facebook
facebookLoginWithAccessToken
Has anybody got something similar for authentication with google? Would I proceed more or less in the similar way to make this happen?
The text was updated successfully, but these errors were encountered:
Bump
Sorry, something went wrong.
No branches or pull requests
I managed to do facebook login like this:
where the function
facebookLoginWithAccessToken
is from here: http://stackoverflow.com/questions/18118503/how-can-i-login-to-meteor-with-native-device-facebookHas anybody got something similar for authentication with google? Would I proceed more or less in the similar way to make this happen?
The text was updated successfully, but these errors were encountered: