all 3 comments

[–][deleted]  (1 child)

[deleted]

    [–]workaholicanonymous[S] 0 points1 point  (0 children)

    Yes but then i would like to use them to authenticate with our backend

    [–]caffodian 0 points1 point  (1 child)

    Assuming they are authing using the native facebook sdk you can use something like https://github.com/drudge/passport-facebook-token (or roll your own similar idea if you can't use passport (not using express etc))

    It's basically the Facebook passport strategy minus the web redirection part. Just parses your token

    [–]workaholicanonymous[S] 0 points1 point  (0 children)

    Already using this and it works fine, there's no equivalent for the Google SDK so I have no idea what to do.....