shabda
Comments
Reactions

Django-SocialAuth - Login via twitter, facebook, openid, yahoo, google using a single app.

By : Shabda Raaj

TL;DR version: Here is an app to allow logging in via twitter, facebook, openid, yahoo, google, which should work transparently with Django authentication system. (@login_required, User and other infrastructure work as expected.) Demo and Code.Longer version follow:


We are releasing our new app. Django-Socialauth. This app makes it awfully easy, to allow users to login your site using Yahoo/Google/Twitter/Facebook/Openid. A demo is available here.

This is released under an Attribution Assurance License. A copy of the same is provided included with the code.

After installing this app, you can use @login_required on any view and users identified via any means can access protected content.


We provide services to integrate and implement this, for a low price of USD 1600. Please contact us at licenses@uswaretech.com to discuss your exact needs.


The README is copied here for convenience.

What it does.

Allow logging in via various providers.

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)
  5. OpenId

Libs you need to install

  1. python-openid (easy_install)
  2. python-yadis (easy_install)
  3. python-oauth(easy_install)

The API Keys are available from

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: http://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. Demo of app
  2. Code for app
  3. http://openid.net/developers/
  4. http://developer.yahoo.com/openid/
  5. http://code.google.com/apis/accounts/docs/OpenID.html
  6. http://apiwiki.twitter.com/OAuth-FAQ
  7. http://developers.facebook.com/connect.php

Below the hoods

  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

  1. Install required libraries.
  2. Get tokens and populate in localsettings.py
  3. Set the token callback urls correctly at Twitter and Facebook.
  4. Add the OpenId middleware. Set the Authentication backends. (Set in localsettings.example.py)


Related Posts


Can we help you build amazing apps? Contact us today.

Comments

Colby Palmer

This is way cool! I can't wait to find a project to try this out on. Uswaretech is pioneering some really great Django apps, keep up the good work!

commmenttor
Raisins

This is awesome. I've been rolling my own hacky code with the django-auth app for a while. Had some hiccups with FB and twitter. This is the perfect solution.

commmenttor
pligg.com

Django-SocialAuth - Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog - Django Web Development...

a Django addon for managing multiple openid and social logins...

commmenttor
alen mujezinovic 27th Aug., 2009

Nice one. You've got any plans in letting the user chose the username?

commmenttor
Ante 27th Aug., 2009

I think I might have jizzed in my pants right now! Was thinking just the other day that this would make for a really great app.

commmenttor
tim

just cloned from github

Request Method: GET
Request URL: http://localhost:8000/accounts/login/?next=/
Exception Type: ImportError
Exception Value:

No module named pape

Exception Location: /[path]/socialauthdemo/openid_consumer/views.py in , line 16

any ideas?

commmenttor
shabda

@tim Did you do easy_install python-yadis? Pape is a part of Yadis, I believe.

commmenttor
shabda

@Colby Thanks. Glad that you liked it.

commmenttor
签证

Nice script!
Thanks for sharing.

commmenttor
tim

yeah i had, just checked again
python-yadis 1.1.0 is already the active version in easy-install.pth

commmenttor
tim

@shabda actually pape is in
site-packages/openid/extensions/pape.py, i'm using python_openid-2.2.4-py2.5

and thanks for this module

commmenttor
shabda

@tim, Ah! So did you need to install anything other than yadin, openid and oauth modules to make it work, or pape was auto installed with openid module? (SO I can update the install instructions.)

commmenttor
riklaunim

../xd_receiver.htm -- is the ../ generated dynamicaly? And there is some bug with the path to receiver as I get the site in the Facebook popup (it's bug related to not getting the receiver correcly, which I had developing FB Connect for filmaster).

And one thing.... unicode in username - Incorrect string value: '\xC5\x84ski' for column 'last_name' at row 1. :)

commmenttor
tim

@shabda still hasn't worked yet, i'm trying on a clean virtualenv. I'll post what happenes on github issues.

commmenttor
Francis Reyes 28th Aug., 2009

What's the purpose of the FB middleware? It seems that it restricts adding FB users unless they're your friend ( something I don't want ) .

commmenttor
shabda

If you are getting a importerror for Pape, please make sure that you have pythonopenid 2.2.1 +.

@tim: What is the openid version you have? Probably easy_install is pulling a wrong version?

In [1]: from openid.extensions.pape import Request as PapeRequest

In [2]: from openid.extensions import pape

In [3]: pape.__file__
Out[3]: '/usr/lib/python2.5/site-packages/python_openid-2.2.1-py2.5.egg/openid/extensions/pape.pyc'

In [4]:

In [7]: import openid

In [8]: openid.__version__
Out[8]: '2.2.1'

commmenttor
shabda

Ok so the API changed for openid between 2.2.1 and later, If you have a latest open id, do this change,
[Thanks @tim @coconutran on hithub]

socialauthdemo/openid_consumer/util.py - line 7
from openid.extensions import pape as openid_pape
PapeResponse = openid_pape.Response

and
socialauthdemo/openid_consumer/views.py - line 16
from openid.extensions import pape as openid_pape
PapeRequest = openid_pape.Request

commmenttor
机票网

This is a great script!
Thanks for sharing.

commmenttor
Niklas

Uh, isn't this whole socialauth thing just complete junk? First of I couldn't get it working directly so I had to do lots of stuff to it to get it all working, files with weird names (oauth2? oauthtwitter2?). Then after having digged through the code what's up with a facebook middleware that gets the friends of a certain facebook id, what is that good for? And when you log in using facebook it creates a user facebook_"Firstname" what's up with that? As if not more than one has the same first name. It's complete and utter crap. I do not recommend this.

commmenttor
shabda

@Niklas: With respect,
1. http://socialauth.uswaretech.net/ it is working here. You must have had issues around Pape not being available on your system, the python-openid changed how they use it between versions. This should be fixed in latest version.
2. It has been extracted out of an existing app, and hence has lot of cruft. the Oauth and other files arent needed and should have been removed. But then they wouldnt cause any problems for you.
3. Isn't this the spirit of Open source, release early. If you have changes please send us a patch. If you have issues/bugs, please log them. http://github.com/uswaretech/django-socialauth/tree/master

Thanks for trying this out, and if you log these issues in github, we sure would try to help you.

commmenttor
Ofri

hi. great work. an app i was looking for some time!

but i have a small problem:
after i login via google (didn't test with the others), the page /accounts/login/done/ page (and also users table in the db) show user.username='dniktqwkgcn'. this is not my username :S
this also happens in the demo site (look at the page title... 'hello dniktqwkgcn')
also user.email is incorrect.

any ideas?

commmenttor
Dave

Looks like a great app! I just installed it and the required libraries, and im getting the error:
Could not import socialauth.views. Error was: No module named lib

I believe its installed properly (in /usr/local/libpython2.6/dist-packages/django_socialauth-0.1.2-py2.6.....). The lib directory exist and it looks like it installed fine..

any ideas?
Thanks
Dave

commmenttor
diegueus9 4th Dec., 2009

Hi, i try the demo but i got a 500 error

commmenttor
Nate 21st Jan., 2010

Your demo is broken. I keep getting 500 errors.

commmenttor
Jordan 26th Jan., 2010

Looks like there is an error in the code.
openid_consumer/util.py
Line 48-49:
issued = association.issued,
lifetime = association.issued,
should be
issued = association.issued,
lifetime = association.lifetime,
otherwise I think that the assoc handle won't really time out, which is a Bad Thing:
http://openid.net/specs/openid-authentication-2_0.html#rfc.section.8.2.1
"expires_in: The lifetime, in seconds, of this association. The Relying Party MUST NOT use the association after this time has passed. "

commmenttor
digitalpbk

Hi the Google sign in is not giving valid email nor username.
Can somebody look into it ?

commmenttor
Aliciataylor

I agree tooPretty closely integrated, as I wanted a seamless experience as close to normal django auth in part. But talking to providers is generic. Let me know if you would need my help porting this to Pytlons.

facebook ads guide

commmenttor
Bosco

Hi,

Where's the code in GitHub? The link is broken

Thank you

commmenttor
aldemir

o twitter e tudo de bom?
ele e d+!!!

commmenttor
james

hi,

I am trying to use socialauth ... after login it always redirect me to the login page, when I look at the views.py my problem is that if hasattr(request, 'openid') is always False

anything I am missing?

Thanks,

commmenttor
Fred Chevitarese

Hi there!
First of all, thanks for the app!

I'm trying to use dinette with all kinds of authentication it's offer... But when i try to login with Gmail for example, i get this page:

"social-auth

Sign-in or Create New Account via these openid providers
Please click your account provider:"

There's an input to inform something. Sorry but, i don't know what i have to do... Can you help me ?

Thanks and sorry about my poor english ;)

commmenttor
Alex

I am getting Error importing authentication backend socialauth.auth_backends.FacebookBackend: "No module named facebook"

what am i missing? Please help

commmenttor
jose

it works with magento??

commmenttor
yashwanth 2nd Sept., 2014

Hi shabda.

I have a query in django-social-auth.
After logging in using facebook, twitter whatever it may be. It will take the details of the user like username, email, fullname, lastname into the django admin users list.
I have my django registration form in separate. In that while clicking the forgot password, it will ask for the email for sending the password reset link.
My query is, the email of password reset link was not sending for the emails which have been taken for the social users.

Please provide useful info for this. Thanks :)

commmenttor
yashwanth 2nd Sept., 2014

Hi shabda.

I have a query in django-social-auth.
After logging in using facebook, twitter whatever it may be. It will take the details of the user like username, email, fullname, lastname into the django admin users list.
I have my django registration form in separate. In that while clicking the forgot password, it will ask for the email for sending the password reset link.
My query is, the email of password reset link was not sending for the emails which have been taken for the social users.

Please provide useful info for this. Thanks :)

commmenttor

Reactions

uswaretech

Django transparent Social Auth: http://bit.ly/oJmu4

This comment was originally posted on Twitter

GregNewman

Wow: http://bit.ly/Mld5O

This comment was originally posted on Twitter

reachaditya

Django transparent Social Auth: http://bit.ly/oJmu4

This comment was originally posted on Twitter

igenero

Django transparent Social Auth: http://bit.ly/oJmu4

This comment was originally posted on Twitter

WackyYouTube

Django-SocialAuth – Login via twitter, facebook, openid, yahoo … http://bit.ly/JXFud

This comment was originally posted on Twitter

shabda

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. http://bit.ly/xCmge

This comment was originally posted on Twitter

mikhailberis

Shabda Raaj: Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. http://ff.im/-7epbE

This comment was originally posted on Twitter

tek_news

HNews: Django-SocialAuth – Login via twitter, facebook, google, etc. from single app http://bit.ly/cX4j

This comment was originally posted on Twitter

henriklied

Django app for logging in using Twitter, Gmail, Facebook, Yahoo and OpenID. Fantastic!
http://bit.ly/django-multilogin

This comment was originally posted on Twitter

newsycombinator

Django-SocialAuth – Login via twitter, facebook, google, etc. from single app http://bit.ly/xlvt2

This comment was originally posted on Twitter

HME

Django-SocialAuth – Login via twitter, facebook, google, etc. from single app – http://bit.ly/s1vto

This comment was originally posted on Twitter

panks7077

Django-SocialAuth – Login via twitter, facebook, openid, yahoo …: TL;DR version: Here is an app to allow loggi.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

Steve0

While this is certainly handy. I forsee lot’s of problems for users typing their gmail password to autenthicate for other sites. Phishing has been around for a long time, and by using these authentication mechanisms it will only get easier.For users it’s not clear which site is legit.

This is legit: hxxps://www.google.com/accounts/ServiceLogin?service=lso&domain=Socialauth.uswaretech.net&anonSign=1&continue=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fud%3Fst%3DBDKB7DbZLrOEjmE3c2kS

This is not: hxxps://www.google.com.evilsite.com/accounts/ServiceLogin?service=lso&domain=Socialauth.uswaretech.net&anonSign=1&continue=https%3A%2F%2Fwww.google.com%2Faccounts%2Fo8%2Fud%3Fst%3DBDKB7DbZLrOEjmE3c2kS

For the avarage user, logging in means, click on the bookmark, see if a loginform pops up, log in. Now it’s go to random site, get asked for your gmail password, and type it or else ‘no cookie for you’.

That being said, I have no solution for the problem.

This comment was originally posted on Hacker News

Steve0

While this is certainly handy. I forsee lot’s of problems for users typing their gmail password to autenthicate for other sites. Phishing has been around for a long time, and by using these authentication mechanisms it will only get easier.For users it’s not clear which site is legit. This is legit: https://www.google.com/accounts/ServiceLogin?service=lso&…;

This is not: https://www.google.com.evilsite.com/accounts/ServiceLogin?se…;

For the avarage user, logging in means, klik on the bookmark, see if a loginform pops up, log in. Now it’s go to random site, get asked for your gmail password, and type it or else ‘no cookie for you’.

That being said, I have no solution for the problem.

This comment was originally posted on Hacker News

hackernewsbot

Django-SocialAuth – Login via twitter, facebook, google, etc. from single app… http://bit.ly/oJmu4

This comment was originally posted on Twitter

tanepiper

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog -… http://ff.im/-7eAmK

This comment was originally posted on Twitter

friendblaster

Django-SocialAuth – Login via twitter, facebook, openid, yahoo … http://bit.ly/OcLWN

This comment was originally posted on Twitter

peterbe

“Django-SocialAuth” Awesome! http://bit.ly/YgiAu

This comment was originally posted on Twitter

simonw

It’s a tough one, but it isn’t new – PayPal have had that exact problem for years (it’s baked in to their core product).

This comment was originally posted on Hacker News

jpmieville

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. Development http://bit.ly/kVA4D

This comment was originally posted on Twitter

waynejohn

Django-SocialAuth – Login via twitter, facebook, openid, yahoo … http://bit.ly/OcLWN

This comment was originally posted on Twitter

shabda

Plus it is certainly better that what we had a few years back, wherin you gave your password to third parties to authenticate to a trusted site. (Like Gmail contacts import, twitter apps). Now at least you are authenticating on the trusted site, where you can verify the address bar.

This comment was originally posted on Hacker News

deliciousnew

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

joedevon

Sweet! PRT@tanepiper Django-SocialAuth OpenID Login via twitter facebook y! Goog using a single app The Uswaretech Blog http://ff.im/-7eAmK

This comment was originally posted on Twitter

scorpion032

On one hand you don’t want to remember multiple passwords (on multiple sites) and on the other hand you don’t want to let people authenticate from your own trusted site.Most of the time, since you are already logged-in on Facebook google, yahoo or twitter, you will not be prompted for password, only for approval of authentication.

This comment was originally posted on Hacker News

ruhanirabin

*Cool* Django-SocialAuth – Login via twitter, facebook, google, etc. from single app http://tr.im/xfIu (RT@featureBlend)

This comment was originally posted on Twitter

maxcutler

Awesomeness. Django app for twitter+FB+openid+yahoo+google login auth http://bit.ly/Jop5p

This comment was originally posted on Twitter

tastylinks

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

twit_new

Django-SocialAuth – Login via twitter, facebook, openid, yahoo …: TL;DR version: Here is an app to allow loggi.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

flashingpumpkin

Well, try the demo. The google login works with a mechanism on googles servers asking you explicitly to grant access to the referring site. If the user doesn’t check the address on the target … well … :/I’ve spotted another weakness though on the facebook login. The username’s are generated as facebook_$firstname, which will lead to duplicates on big sites quite fast. I’d like to see a mechanism asking the users to chose a username.

This comment was originally posted on Hacker News

flashingpumpkin

Well, try the demo. The google login works with a mechanism on googles servers asking you explicitly to grant access to the referring site.

This comment was originally posted on Hacker News

jessep

That’s pretty sweet! The demo worked well for me on everything but Facebook, where it reloaded the page within the facebook popup, a littttle odd. This is a great start, though, for developing services that integrate with the API’s of these services. Psyched to try it integrating it into an app.

This comment was originally posted on Hacker News

twittestit

Django-SocialAuth – Login via twitter, facebook, openid, yahoo …: TL;DR version: Here is an app to allow loggi.. http://bit.ly/sT9hs

This comment was originally posted on Twitter

theMediaDude

Django-SocialAuth – Login via twitter, facebook, openid, yahoo … http://bit.ly/OcLWN

This comment was originally posted on Twitter

twittes1

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. ? The Uswaretech Blog.. http://bit.ly/2ZTxgK

This comment was originally posted on Twitter

robhudson

Django-SocialAuth: Login via twitter, facebook, openid… RT@gregnewman: Wow: http://bit.ly/Mld5O

This comment was originally posted on Twitter

jdorfman

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog -… http://ff.im/-7eMPM

This comment was originally posted on Twitter

Steve0

I think this is a problem. Lot’s of users just type http://www.example.org in the google and click the first link. they hardly know what the address bar does.One way to look at it is: stupid user, you did it to yourself.

Another is: lots of people will be fooled, maybe we should rethink.

As I’ve said before, I have no solid solution.

This comment was originally posted on Hacker News

nusimow

http://twurl.nl/xil8tu Add login to your Django web application using OpenID/Twitter/Facebook/Gmail/Yahoo, amazing idea!

This comment was originally posted on Twitter

blogsir

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

ThomasG33K

[WebDev Feed] Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

messel

Wow I was looking for precisely this demo. Rockin’

This comment was originally posted on Hacker News

shabda

Can you try it and let me know what address it shows in the popup bar? If you log a bug on github, we will definitely try to fix it.

This comment was originally posted on Hacker News

jay2dee2

Woo hoo! Django has a SocialAuth app now :: http://bit.ly/s1vto :: #django #djangorules #iloveyoudjango #python #pythonrulestoo #emacs #geek

This comment was originally posted on Twitter

twittes

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. ? The Uswaretech Blog.. http://bit.ly/2ZTxgK

This comment was originally posted on Twitter

endlessvoid94

How integrated is this to Django? Would it be easy to adapt to other framework (I’m thinking of Pylons). I’m working on a little website and would love to add this functionality without switching to Django.

This comment was originally posted on Hacker News

kentf

Let’s start working on one for Rails

This comment was originally posted on Hacker News

kocinetwork

[from selfmadepsyche] Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app… http://bit.ly/OcLWN

This comment was originally posted on Twitter

dpaola2

django_socialauth – login to django app using twitter, facebook, openid http://bit.ly/s1vto i want this for pylons, maybe i’ll do it myself

This comment was originally posted on Twitter

djcurtis

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app – http://tinyurl.com/mwu43g

This comment was originally posted on Twitter

maguro7

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. ? The Uswaretech Blog.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

tweetergreeter1

Django-SocialAuth – Login via twitter, facebook, openid, yahoo …: TL;DR version: Here is an app to allow loggi.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

twoodham

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app http://icio.us/uwnzu1

This comment was originally posted on Twitter

twittilicious

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. The Uswa… http://bit.ly/xlvt2

This comment was originally posted on Twitter

realsamengland

Django-SocialAuth – Login via twitter, facebook, google, etc. from single app (with demo) http://bit.ly/Rr2tT

This comment was originally posted on Twitter

tdedecko

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. http://bit.ly/1YsLFN

This comment was originally posted on Twitter

kenny_shen

http://short.to/o9mh

This comment was originally posted on Twitter

AtlantaWebsite

Django-SocialAuth – Login via twitter, facebook, openid, yahoo,… http://bit.ly/OcLWN

This comment was originally posted on Twitter

Apreche

via del.icio.us: Single django app handles all “social” authentication methods. http://tinyurl.com/mwu43g

This comment was originally posted on Twitter

paulitex

I’m already working on a similar authentication system for a rails app and this just really motivated me to release it as a plugin…That said, I’m sure lots of other Rails developers have already built their own solution. I’m also sure some are more mature than mine (i.e. in production). Isn’t uservoice.com backed by Rails? Their social authentication is so pretty Google uses it as a demo.

This comment was originally posted on Hacker News

paulitex

I’m already working on a similar authentication system for a rails app and this just really motivated me to release it as a plugin…That said, I’m sure lots of other Rails developers have already built there own solution. I’m also sure they’re more mature than mine (i.e. in production). Isn’t uservoice.com backed by Rails? Their social authentication is so pretty Google uses it as a demo.

This comment was originally posted on Hacker News

tewfiq

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

sniffertunes

Django-SocialAuth – Login via twitter, facebook, openid, yahoo … http://bit.ly/l0MgN

This comment was originally posted on Twitter

wazotunes

Django-SocialAuth – Login via twitter, facebook, openid, yahoo … http://bit.ly/l0MgN

This comment was originally posted on Twitter

rosslarocco

SocialAuth – Login via twitter, facebook, openid, yahoo, google using single app. Django Web Dev http://ow.ly/lybx

This comment was originally posted on Twitter

Natim

Django-SocialAuth la connexion facile à une appl Django : http://bit.ly/s1vto Login via Facebook, Twitter, Yahoo, Google, OpenID

This comment was originally posted on Twitter

coconutrandom

can you still login with django.contrib.auth?

This comment was originally posted on Hacker News

nelamurugan

http://icio.us/uwnzu1

This comment was originally posted on Twitter

shabda

Yes, these are just exposed as authentication_backends, any existing ones will work alongside.

This comment was originally posted on Hacker News

mickyhulse

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. http://bit.ly/J2SDr

This comment was originally posted on Twitter

jjdelc

http://tinyurl.com/mwu43g Django-socialauth login with openid, facebook, twitter with a single app #django #twitterauth #facebookauth #o …

This comment was originally posted on Twitter

nuggien

You’re setting the base path wrong for xd_receiver.htm would be my guess. FB connect is redirecting to http://socialauth.uswaretech.net/accounts/login/?next=/../xd…

This comment was originally posted on Hacker News

pinoystartup

Django-SocialAuth – Login via Twitter, Facebook, OpenID, Yahoo, Google using a single app – http://tr.im/xhBu

This comment was originally posted on Twitter

webstartupgroup

StartupNews: Django-SocialAuth – Login via twitter, facebook, google, etc. from single app http://bit.ly/NELFB

This comment was originally posted on Twitter

ricree

Depending on what you want it for, I’ve had good experiences with django-authopenid ( bitbucket.org/benoitc/django-authopenid ).It doesn’t have the facebook or twitter, but it does work well with most openid providers (google, yahoo, etc). Plus, it lets users go ahead and just create a normal login if they don’t want to use openid.

There’s an example at openid-example.e-engura.org if you’re interested.

This comment was originally posted on Hacker News

delicious50

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog – Djan http://bit.ly/Qwp3y

This comment was originally posted on Twitter

twisness

Blog| Django-SocialAuth – Login via twitter, facebook, openid, yahoo …:

TL;DR version: Here is an app.. http://bit.ly/N7zZQ

This comment was originally posted on Twitter

farmerbuzz

Chrome/IE8 actually do a reasonable job of addressing this by greying out everything but the domain in the address bar. Its something I’d like to see in FF — if anyone knows of an add-on to do this let me know.

This comment was originally posted on Hacker News

yish

One challenge I have with all these logins options is that it becomes hard to remember which provider you logged in with. We have an issue already with Facebook connect and standard Django auth of duplicate accounts for a single user being created. Often times merging these can be rough. Has anyone come up with an elegant solution to this problem?

This comment was originally posted on Hacker News

shabda

Pretty closely integrated, as I wanted a seamless experience as close to normal django auth in part. But talking to providers is generic. Let me know if you would need my help porting this to Pytlons.

This comment was originally posted on Hacker News

diegueus9

#greader [django community] Shabda Raaj: Django-SocialAuth – Login via twitter, facebook, openid, yahoo,.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

brainwander

Django-SocialAuth: Login via twitter, facebook, openid, yahoo, google using a single app: http://twurl.nl/gm6bvu

This comment was originally posted on Twitter

Alffrankenmomma

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog – .. http://short.to/o9mh

This comment was originally posted on Twitter

JamesDeleon

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. — The Uswaretech Blog – Dj.. http://is.gd/2DDbC

This comment was originally posted on Twitter

markstahler

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app – http://bit.ly/15dgpA

This comment was originally posted on Twitter

scotth

Locationbar²!https://addons.mozilla.org/en-US/firefox/addon/4014

This comment was originally posted on Hacker News

speedyq8

Django-SocialAuth Login via #twitter #facebook #openid #yahoo #google in a one app. would be cool for #pinax http://tr.im/xoWi

This comment was originally posted on Twitter

elanbeat

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. http://bit.ly/EvP97

This comment was originally posted on Twitter

twitoshirt

Django-SocialAuth – Login via twitter, facebook, openid, yahoo …: TL;DR version: Here is an app to allow loggi.. http://bit.ly/OcLWN

This comment was originally posted on Twitter

zeevb

Django-SocialAuth http://tinyurl.com/mwu43g – Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app.

This comment was originally posted on Twitter

zeevb

Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app – http://tinyurl.com/mwu43g

This comment was originally posted on Twitter

plisk

Nice, thank you..

This comment was originally posted on Reddit

hot_bp

http://tinyurl.com/mwu43g
Django-SocialAuth – Login via twitter, facebook, openid, yahoo, google using a single app. — The Usware Blog …

This comment was originally posted on Twitter

© Agiliq, 2009-2012