Proper way to implement python-social-auth with Django and Steam backend -


i want use python social auth authenticate users using steam openid end. i've followed django configuration steps. but, @ point don't know next steps.

theoretically, application ready use openid provider can't find in documentation tells me how use provider. need make use of functionality?

probably bit late useful answer, in case... bare bones procedure cobbled together, should started. assuming got django-specific parts done (including syncdb), need complete generic social auth , steam configuration...

you need steam api key (get here)

in settings.py, add key:

social_auth_steam_api_key = '...' 

and add backend:

authentication_backends = (     'social.backends.steam.steamopenid',     #others, if want them... ) 

in urls.py, add social urls:

urlpatterns = patterns('',     url('', include('social.apps.django_app.urls', namespace='social')), ) 

now create login link using /login/steam?next=/, next user should land post-login. login link, make sure follow guidance on steam dev community page , use appropriate image. , note default pipeline auto-create django user.

like said, bare bones (i didn't template context processors), helps.


Comments

Popular posts from this blog

c# - How Configure Devart dotConnect for SQLite Code First? -

java - Copying object fields -

c++ - Clear the memory after returning a vector in a function -