ObjectiveDDP icon indicating copy to clipboard operation
ObjectiveDDP copied to clipboard

Is logonWithOAuthAccessToken compatible with other services?

Open tony056 opened this issue 9 years ago • 2 comments

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

tony056 avatar Mar 22 '16 03:03 tony056

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.

mikey0000 avatar Mar 22 '16 20:03 mikey0000

I ran into this issue when trying to get Google oauth to work: https://github.com/meteor/meteor/issues/4798

nsolter avatar Apr 19 '16 09:04 nsolter