Consuming meteor's oauth from a native client


#1

Hi all! I frequently come back to meteor, but for the first time am embarking upon a large scale product and have run into the following problem.

How can an iOS app (not meteor, native swift), create an oauth facebook account using meteor as the backend.

I’ve been searching all over and perhaps I’m not asking the right question, but I can’t seem to find an answer. Right now the iOS app consumes the meteor API server side using Restivus. I guess I’m either looking for an article or a general explanation of how I can do this. Should I make an extra endpoint that manually creates a new user with the profile.facebook settings and proper auth and refresh tokens sent down from the swift app? Is there another way? Am I missing something?

Thanks for your help!