Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

19 lines (13 sloc) 0.984 kb


This is a basic example of a Django project set up with LinkedIn authentication. Instead of including an installable module, this case is simple enough that having an example to work from should help you avoid module overload.

A Procfile is included to make deployment to Heroku easy.
For more detailed instructions on getting this code to work and deploy to Heroku see my blog post at


  • simplejson
  • oauth2

Install both with: pip install simplejson oauth2

This library uses the REST authentication (1.0a) and stores the user's token and secret in the UserProfile. This is the "simplest thing that could possibly work" and is designed as a springboard for you to add the functionality you need.

This is a simplification of the module found here: - which is based on the twitter oauth2 example

Jump to Line
Something went wrong with that request. Please try again.