ObjectiveDDP
ObjectiveDDP copied to clipboard
Is logonWithOAuthAccessToken compatible with other services?
Hi all,
I tried to implement Google Sign In on my mobile client side, and then used the accessToken I got to log in my meteor server with logonWithOAuthAccessToken.
However, I failed and got the following log:
Unable to authenticate
{setCredentialToken: false, ...}
Should I change any configuration on my server, or logonWithOAuthAccessToken is only for facebook service right now?
By the way, is there any instruction for how to sign in with Google account through ObjectiveDDP library?
Best regards, Tony
There are not instructions for logging in with Google, Feel free to create a PR once you get it working. Oauth services are not created the same unfortunately but it shouldn't take much work to get it going. Yes it currently only works for Facebook.
I ran into this issue when trying to get Google oauth to work: https://github.com/meteor/meteor/issues/4798