Django Register with Oauth – Facebook, Twitter, Google, Yahoo! and Hotmail (Live)

At first this seems simple enough, allow users to register for your site using one of their existing accounts at popular sites like Facebook, Twitter, Google, Yahoo! and Hotmail (Live). Then you realize that each one has a slightly different oauth implementation, the documentation is not that great, their SDK is out-of-date (looking at you Yahoo), various tutorials on the web are incomplete / out-of-date / simply wrong, or the existing packages provide more functionality than you need (i.e. you’ve already got a user management framework in place).

Over the next couple of posts I will look at getting each one of these up and running. But first, you’ll need to register your application with each provider:

Facebook
https://developers.facebook.com/apps

Twitter
https://dev.twitter.com/apps

Google
https://code.google.com/apis/console/

Yahoo!
https://developer.apps.yahoo.com/projects

Microsoft
http://msdn.microsoft.com/en-us/live/

Once you’ve got all that filled out, add the following to your settings file with their respective values:


UPDATE… links to all articles…

Facebook – https://chriskief.com/2012/12/22/django-register-with-oauth-facebook/
Twitter – https://chriskief.com/2012/12/22/django-register-with-oauth-twitter/
Google – https://chriskief.com/2012/12/22/django-register-with-oauth-google/
Yahoo! – https://chriskief.com/2012/12/30/django-register-with-oauth-yahoo/
Microsoft – https://chriskief.com/2013/01/05/register-with-oauth-microsoft-live/

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s