Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Options for Multiple Login (Google/Facebook/Twitter)

I am writing a webapp on Google App Engine with python and right now I am using the built in federated login system with OpenID and it works great with Google/Yahoo/AOL but I want to give users on Facebook and Twitter access to the site as well. There have been questions like this in the past year or two but none have been fully answered or are out of date.

Basically all I want is for the user to be able to login with either of these three services and I want to be able to authenticate them and store a unique user_id along with each user. I am not all that interested in posting to facebook walls or sending tweet updates from the site I simply want to give users a really easy way to login with existing accounts.

like image 596
clifgray Avatar asked Sep 26 '12 18:09

clifgray


3 Answers

Have you thought of using a library that provides this functionality? Something like simpleauth:

  • https://github.com/crhym3/simpleauth

Most of the boilerplate for new projects have this stuff built in too:

  • http://green-algae.appspot.com/
  • https://github.com/coto/gae-boilerplate
like image 137
Bryce Cutt Avatar answered Oct 19 '22 08:10

Bryce Cutt


Even if a wake up an old thread, but for the records:

Authomatic is a really complete authorization / authentication client library for Python web applications (including Google AppEngine).

Out of the box it supports about 29 different providers.

like image 45
jensens Avatar answered Oct 19 '22 08:10

jensens


Another great library is Velruse.

like image 44
Jasper van den Bosch Avatar answered Oct 19 '22 09:10

Jasper van den Bosch