PageRenderTime 35ms CodeModel.GetById 13ms RepoModel.GetById 0ms app.codeStats 0ms

/README.rst

https://bitbucket.org/jibli/django-social-auth
ReStructuredText | 192 lines | 139 code | 53 blank | 0 comment | 0 complexity | a215afb0594d5366eaa1dcb02820d567 MD5 | raw file
  1. Django Social Auth
  2. ==================
  3. Django Social Auth is an easy way to setup social authentication/authorization
  4. mechanism for Django projects.
  5. Crafted using base code from django-twitter-oauth_ and django-openid-auth_,
  6. it implements a common interface to define new authentication providers from
  7. third parties.
  8. You can view this app's documentation on `Read the Docs`_ too.
  9. .. contents:: Table of Contents
  10. Features
  11. --------
  12. This application provides user registration and login using social site
  13. credentials. Some features are:
  14. - Registration and login with social sites using the following providers
  15. at the moment:
  16. * `Google OpenID`_
  17. * `Google OAuth`_
  18. * `Google OAuth2`_
  19. * `Yahoo OpenID`_
  20. * OpenId_ like myOpenID_
  21. * `Twitter OAuth`_
  22. * `Facebook OAuth`_
  23. Some contributions added support for:
  24. * `DISQUS OAuth`_
  25. * `LiveJournal OpenID`_
  26. * `Orkut OAuth`_
  27. * `Linkedin OAuth`_
  28. * `Foursquare OAuth2`_
  29. * `GitHub OAuth`_
  30. * `Dropbox OAuth`_
  31. * `Flickr OAuth`_
  32. * `Vkontakte OAuth`_
  33. * `MSN Live Connect OAuth2`_
  34. * `Skyrock OAuth`_
  35. * `Yahoo OAuth`_
  36. * `Evernote OAuth`_
  37. * `Mail.ru OAuth`_
  38. * `Odnoklassniki OAuth`_
  39. * `Mixcloud OAuth2`_
  40. * `BitBucket OAuth`_
  41. * `Douban OAuth`_
  42. * `Fitbit OAuth`_
  43. * `Instagram OAuth2`_
  44. * `Twilio`_
  45. * `Weibo OAuth2`_
  46. * `Yandex OpenId`_
  47. * `Shopify OAuth2`_
  48. * `StockTwits OAuth2`_
  49. - Basic user data population and signaling to allows custom fields values
  50. from providers' responses
  51. - Multiple social account associations to a single user
  52. - Custom User model override if needed (`auth.User`_ by default)
  53. - Extensible pipeline to handle authentication/association mechanism
  54. Demo
  55. ----
  56. There's a demo at http://social.matiasaguirre.net/.
  57. Note: It lacks some backends' support at the moment.
  58. Contact
  59. -------
  60. Join the `django-social-auth discussion list`_ and bring any questions or suggestions
  61. that would improve this application.
  62. Also join the IRC channel ``#django-social-auth`` on Freenode server.
  63. Documentation
  64. -------------
  65. Extensive documentation at `Read the Docs`_.
  66. Dependencies
  67. ------------
  68. Dependencies that **must** be met to use the application:
  69. - OpenId_ support depends on python-openid_
  70. - OAuth_ support depends on python-oauth2_
  71. - Several backends demands application registration on their corresponding
  72. sites
  73. Installation
  74. ------------
  75. From pypi_::
  76. $ pip install django-social-auth
  77. or::
  78. $ easy_install django-social-auth
  79. or clone from github_::
  80. $ git clone git://github.com/omab/django-social-auth.git
  81. and add social_auth to PYTHONPATH::
  82. $ export PYTHONPATH=$PYTHONPATH:$(pwd)/django-social-auth/
  83. or::
  84. $ cd django-social-auth
  85. $ sudo python setup.py install
  86. Copyrights and Licence
  87. ----------------------
  88. ``django-social-auth`` is protected by BSD licence.
  89. Some bits were derived from others' work and copyrighted by:
  90. - django-twitter-oauth::
  91. Original Copyright goes to Henrik Lied (henriklied)
  92. Code borrowed from https://github.com/henriklied/django-twitter-oauth
  93. - django-openid-auth::
  94. django-openid-auth - OpenID integration for django.contrib.auth
  95. Copyright (C) 2007 Simon Willison
  96. Copyright (C) 2008-2010 Canonical Ltd.
  97. .. _django-twitter-oauth: https://github.com/henriklied/django-twitter-oauth
  98. .. _django-openid-auth: https://launchpad.net/django-openid-auth
  99. .. _Read the Docs: http://django-social-auth.readthedocs.org/
  100. .. _Google OpenID: http://code.google.com/apis/accounts/docs/OpenID.html
  101. .. _Google OAuth: http://code.google.com/apis/accounts/docs/OAuth.html
  102. .. _Google OAuth2: http://code.google.com/apis/accounts/docs/OAuth2.html
  103. .. _Yahoo OpenID: http://openid.yahoo.com/
  104. .. _OpenId: http://openid.net/
  105. .. _myOpenID: https://www.myopenid.com/
  106. .. _Twitter OAuth: http://dev.twitter.com/pages/oauth_faq
  107. .. _Facebook OAuth: http://developers.facebook.com/docs/authentication/
  108. .. _DISQUS OAuth: http://disqus.com/api/docs/auth/
  109. .. _LiveJournal OpenID: http://www.livejournal.com/support/faqbrowse.bml?faqid=283
  110. .. _Orkut OAuth: http://code.google.com/apis/orkut/docs/rest/developers_guide_protocol.html#Authenticating
  111. .. _Linkedin OAuth: https://www.linkedin.com/secure/developer
  112. .. _Foursquare OAuth2: https://developer.foursquare.com/docs/oauth.html
  113. .. _GitHub OAuth: http://developer.github.com/v3/oauth/
  114. .. _Dropbox OAuth: https://www.dropbox.com/developers_beta/reference/api
  115. .. _Flickr OAuth: http://www.flickr.com/services/api/
  116. .. _Vkontakte OAuth: http://vk.com/developers.php?oid=-1&p=%D0%90%D0%B2%D1%82%D0%BE%D1%80%D0%B8%D0%B7%D0%B0%D1%86%D0%B8%D1%8F_%D1%81%D0%B0%D0%B9%D1%82%D0%BE%D0%B2
  117. .. _MSN Live Connect OAuth2: http://msdn.microsoft.com/en-us/library/live/hh243647.aspx
  118. .. _Skyrock OAuth: http://www.skyrock.com/developer/
  119. .. _Yahoo OAuth: http://developer.yahoo.com/oauth/guide/oauth-auth-flow.html
  120. .. _Evernote OAuth: http://dev.evernote.com/documentation/cloud/chapters/Authentication.php
  121. .. _Mail.ru OAuth: http://api.mail.ru/docs/guides/oauth/
  122. .. _Odnoklassniki OAuth: http://dev.odnoklassniki.ru/wiki/display/ok/The+OAuth+2.0+Protocol
  123. .. _Mixcloud OAuth2: http://www.mixcloud.com/developers/documentation/#authorization
  124. .. _BitBucket OAuth: https://confluence.atlassian.com/display/BITBUCKET/OAuth+Consumers
  125. .. _Douban OAuth: http://www.douban.com/service/apidoc/auth
  126. .. _Fitbit OAuth: https://wiki.fitbit.com/display/API/OAuth+Authentication+in+the+Fitbit+API
  127. .. _Instagram OAuth2: http://instagram.com/developer/authentication/
  128. .. _Twilio: https://www.twilio.com/user/account/connect/apps
  129. .. _Weibo OAuth2: http://open.weibo.com/wiki/Oauth2
  130. .. _Yandex OpenId: http://openid.yandex.ru/
  131. .. _Shopify OAuth2: http://api.shopify.com/authentication.html
  132. .. _StockTwits OAuth2: http://stocktwits.com/developers/docs/authentication
  133. .. _auth.User: http://code.djangoproject.com/browser/django/trunk/django/contrib/auth/models.py#L186
  134. .. _python-openid: http://pypi.python.org/pypi/python-openid/
  135. .. _python-oauth2: https://github.com/simplegeo/python-oauth2
  136. .. _OAuth: http://oauth.net/
  137. .. _pypi: http://pypi.python.org/pypi/django-social-auth/
  138. .. _github: https://github.com/omab/django-social-auth
  139. .. _django-social-auth discussion list: https://groups.google.com/forum/?fromgroups#!forum/django-social-auth