CARVIEW |
Select Language
HTTP/2 302
server: nginx
date: Fri, 15 Aug 2025 09:36:58 GMT
content-type: text/plain; charset=utf-8
content-length: 0
x-archive-redirect-reason: found capture at 20091203040009
location: https://web.archive.org/web/20091203040009/https://github.com/uswaretech/Django-Socialauth
server-timing: captures_list;dur=0.864802, exclusion.robots;dur=0.030980, exclusion.robots.policy;dur=0.013852, esindex;dur=0.017541, cdx.remote;dur=7.889496, LoadShardBlock;dur=241.915112, PetaboxLoader3.datanode;dur=73.294025, PetaboxLoader3.resolve;dur=88.796830
x-app-server: wwwb-app215
x-ts: 302
x-tr: 300
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
set-cookie: wb-p-SERVER=wwwb-app215; path=/
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
HTTP/2 200
server: nginx
date: Fri, 15 Aug 2025 09:36:58 GMT
content-type: text/html; charset=utf-8
x-archive-orig-server: nginx/0.7.61
x-archive-orig-date: Thu, 03 Dec 2009 04:00:07 GMT
x-archive-orig-connection: close
x-archive-orig-status: 200 OK
x-archive-orig-etag: "445b7e1255dd8e850ecbdce3c69ac1aa"
x-archive-orig-x-runtime: 64ms
x-archive-orig-content-length: 30123
x-archive-orig-cache-control: private, max-age=0, must-revalidate
x-archive-guessed-content-type: text/html
x-archive-guessed-charset: utf-8
memento-datetime: Thu, 03 Dec 2009 04:00:09 GMT
link: ; rel="original", ; rel="timemap"; type="application/link-format", ; rel="timegate", ; rel="first memento"; datetime="Thu, 17 Sep 2009 03:06:39 GMT", ; rel="prev memento"; datetime="Tue, 22 Sep 2009 19:01:14 GMT", ; rel="memento"; datetime="Thu, 03 Dec 2009 04:00:09 GMT", ; rel="next memento"; datetime="Thu, 07 Jan 2010 03:15:57 GMT", ; rel="last memento"; datetime="Sun, 19 Jan 2025 21:16:46 GMT"
content-security-policy: default-src 'self' 'unsafe-eval' 'unsafe-inline' data: blob: archive.org web.archive.org web-static.archive.org wayback-api.archive.org athena.archive.org analytics.archive.org pragma.archivelab.org wwwb-events.archive.org
x-archive-src: 51_13_20091203030103_crawl101-c/51_13_20091203035919_crawl101.arc.gz
server-timing: captures_list;dur=0.685617, exclusion.robots;dur=0.029655, exclusion.robots.policy;dur=0.014896, esindex;dur=0.015670, cdx.remote;dur=35.516487, LoadShardBlock;dur=141.507197, PetaboxLoader3.datanode;dur=113.478910, PetaboxLoader3.resolve;dur=177.900828, load_resource;dur=171.113299
x-app-server: wwwb-app215
x-ts: 200
x-tr: 440
server-timing: TR;dur=0,Tw;dur=0,Tc;dur=0
x-location: All
x-rl: 0
x-na: 0
x-page-cache: MISS
server-timing: MISS
x-nid: DigitalOcean
referrer-policy: no-referrer-when-downgrade
permissions-policy: interest-cohort=()
content-encoding: gzip
uswaretech's Django-Socialauth at master - GitHub
This repository is private.
All pages are served over SSL and all pushing and pulling is done over SSH.
No one may fork, clone, or view it unless they are added as a member.
Every repository with this icon (
) is private.
Every repository with this icon (

This repository is public.
Anyone may fork, clone, or view it.
Every repository with this icon (
) is public.
Every repository with this icon (

Description: | Allows logging via Facebook, Yahoo, Gmail, Twitter and Openid edit |
Homepage: | https://socialauth.uswaretech.net/ edit |
Public Clone URL: |
git://github.com/uswaretech/Django-Socialauth.git
Give this clone URL to anyone.
git clone git://github.com/uswaretech/Django-Socialauth.git
|
Your Clone URL: |
Use this clone URL yourself.
git clone git@github.com:uswaretech/Django-Socialauth.git
|
name | age | message | |
---|---|---|---|
![]() |
.gitignore | Loading commit data... ![]() |
|
![]() |
LICENSE | ||
![]() |
README | ||
![]() |
__init__.py | ||
![]() |
commentor/ | ||
![]() |
ez_setup.py | ||
![]() |
gitignore | ||
![]() |
localsettings.example.py | ||
![]() |
manage.py | ||
![]() |
media/ | ||
![]() |
openid_consumer/ | ||
![]() |
settings.py | ||
![]() |
setup.py | ||
![]() |
social_authentication.kpf | ||
![]() |
socialauth/ | ||
![]() |
urls.py |
README
What it does. ----------------- 1. Allow logging in via various providers. 2. Import contacts from various third party sites, to find out which of your friends already use our service. Logging In ================ This is a application to enable authentication via various third party sites. In particular it allows logging in via 1. Twitter 2. Gmail 3. Facebook 4. Yahoo(Essentially openid) 4. OpenId Libs you need to install 1. python-openid (easy_install) 2. Yadis (easy_install) 3. python-openauth(easy_install) The API Keys are available from https://www.facebook.com/developers/createapp.php https://developer.yahoo.com/dashboard/createKey.html https://www.google.com/accounts/ManageDomains https://twitter.com/oauth_clients How it works. ------------------- Openid: Users need to provide their openid providers. Talk to the providers and login. Yahoo: Yahoo is an openid provider. Talk to Yahoo endpoints. (Endpoint: https://yahoo.com) Google: Google is a provider. Talk to them. (Endpoint: https://www.google.com/accounts/o8/id) Facebook: Facebook connect provides authentication framework. Twitter: We use Twitter Oauth for authentication. In theory, Oauth shouldn't be used for authentication. (It is an autorisation framework, not an authentication one), In practice it works pretty well. Once you have an access_token, and a name, essentially authenticated. References 1. https://openid.net/developers/ 2. https://developer.yahoo.com/openid/ 3. https://code.google.com/apis/accounts/docs/OpenID.html 4. https://apiwiki.twitter.com/OAuth-FAQ 5. https://developers.facebook.com/connect.php Limitations -------------- As with all APIs, we are limited by the amout of data which the API provider provides us. For example, both Yahoo and Google provide extremely limited data about the autheticated subscriber. Twitter and Facebook provide a lot of details, but not the email. Different Openid providers are free to provide [different amounts of data](https://openid.net/specs/openid-simple-registration-extension-1_0.html). How it works. ----------------- 1. For all providers(except Facebook) there are two urls and views. (start and done) 2. Start sets up the required tokens, and redirects and hands off to the correct provider. 3. Provider handles authentication on their ends, and hands off to Us, providing authorization tokens. 4. In done, we check if the user with these details already exists, if yes, we log them in. Otherwise we create a new user, and log them in. For all of these, we use standard django authenication system, with custom auth_backends, hence all existing views, and decorators as login_required will work as expected. Urls --------- /login/ Login page. Has all the login options /openid_login/ AND /openid_login/done/ /yahoo_login/ AND /yahoo_login/done/ /gmail_login/ AND /gmail_login/done/ /twitter_login/ AND /twitter_login/done/ /facebook_login/done/ We dont have a start url here, as the starting tokens are set in a popup, as per FB Connect recommendations. Implementation ---------------- 0. Install required libraries. 1. Get tokens and populate in localsettings.py 2. Set the token callback urls correctly at Twitter and Facebook. 4. Set the authentication_backends to the providers you are using.
This feature is coming soon. Sit tight!