Hello, I'm just starting with a project that requires users to be able to authenticate directly using their Facebook accounts.
I know this is an old problem, but I noticed there are two quite distinct ways to solve it, and I wanted to ask for the group's opinion 1. Using FB JavaScript SDK ===================== That is, following the code shown here http://developers.facebook.com/docs/guides/web/#login and setting a JavaScript function as a callback that redirects to a specific URL in the project that checks that the auth cookie exists and creates (or fetches an existing) user in the typical Django auth system. 2. Using a Django app with OAuth2 ========================== The second option is using an app such as django-social-auth https://github.com/omab/django-social-auth That executes the whole authentication in the server ---- Which one is better from a "pythonic" perspective? I also need to be able to test the login process using Selenium, which one is better suited for testing? Thanks! -- You received this message because you are subscribed to the Google Groups "Django users" group. To post to this group, send email to django-users@googlegroups.com. To unsubscribe from this group, send email to django-users+unsubscr...@googlegroups.com. For more options, visit this group at http://groups.google.com/group/django-users?hl=en.