calinrada / PhalconUserPlugin

185 stars 68 forks source link

The plugin and remote sign-in #3

Open pgasiorowski opened 11 years ago

pgasiorowski commented 11 years ago

Hi. Thanks for the plugin. I'm planning to start testing it from Januray. My intention is to use it for remote sign-in/registration from a desktop app through an API running on phalcon.

Do you you have any suggestions for this?

calinrada commented 11 years ago

Hi WooDzu. I honestly have no clue. What i know, is that depending on your programming language, Facebook, Google or other providers should have some example for integrating this. Eg: Login with Facebook from an android application: https://developers.facebook.com/docs/android/login-with-facebook/ . After that, you should use the data provided by the application, and send it to your API. (This should be a normal workflow)

The other way, would be (i think) to move all the response / request into a WebView (browser window) within your application. Because the user must accept your app in order to authenticate it.

Anyway, this are just my thoughts. Maybe someone around here have more knowledge in that direction.

pgasiorowski commented 11 years ago

Many thanks for your answer. We do consider both approaches, it will be interested to see how it evolves.

On a side note it might be worthwhile to mention on plugin's landing page which versions of each API it supports.