Skip to content
This repository has been archived by the owner on Mar 2, 2021. It is now read-only.

Use Linkedin as your authentication provider in Django applications

Notifications You must be signed in to change notification settings

shawnwall/django-linkedin-auth

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 

Repository files navigation

DEPENDENCIES

https://github.com/simplegeo/python-oauth2
https://github.com/simplejson/simplejson

INSTALLATION

Add to your project's applications or add to your PYTHONPATH

CONFIGURATION

Add linkedin_auth to your project's INSTALLED_APPS in settings.py
# for a Linkedin API key at https://www.linkedin.com/secure/developer 
Add the following to settings.py

AUTH_PROFILE_MODULE = 'linkedin_auth.UserProfile'
LINKEDIN_TOKEN = 'your_token'
LINKEDIN_SECRET = 'your_key'
LOGIN_URL = '/#/'

USAGE

/# url will redirect to linkedin for approval
on success you will be redirected back to /#/authenticated
a django.contrib.auth.models.User will be created or modified after approval
token information will be stored in the UserProfile model

MISC

This app is just a modified version of the twitter example created by https://github.com/simplegeo

TODO

make this installable with distutils or something else

About

Use Linkedin as your authentication provider in Django applications

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published