1

I ran across this Node.js example, which makes me think that it is possible, but when I tried to setup the example locally, it doesn't seem to do anything. It would seem to me that it would not be possible, as the login for most of these services, like Facebook Connect and OpenID, require a redirect to the provider's site, then a redirect back to your site.

What I am trying to accomplish in the long-run is to develop an application using a combination of PhoneGap with a Node.js restful backend. I am not integrating with Facebook, other than to use the login credentials. I have to admit that my understanding of OAUTH, OpenID, and Facebook Connect is rather novice. I would like to have my PhoneGap application simply send over the credentials and have my Node.js authenticate them.

Mark Rotteveel
  • 100,966
  • 191
  • 140
  • 197
CodeChimp
  • 8,016
  • 5
  • 41
  • 79

1 Answers1

0

Yes this can be done. I believe the server-side code handles the redirect. Here is a good explanation of the solution.

Community
  • 1
  • 1
Philip Kirkbride
  • 21,381
  • 38
  • 125
  • 225