Search code examples
djangostackexchange

Django library for Stack Exchange API authentication?


I'm writing a webapp that heavily uses the StackExchange API. I'm currently using OpenID authentication but given the only people that will use the site will be SE members, I've been wondering if there's a library for Django (or Python, in general) that can handle the login process for me.

I'm specifically thinking of something that slots into the process like the django_openid_auth project does.


Solution

  • Look at django-allauth. The supported authentication providers are:

    • Facebook (both OAuth2 and JS SDK)
    • Github
    • Google (OAuth2)
    • LinkedIn
    • OpenId
    • Persona
    • SoundCloud (OAuth2)
    • Stack Exchange (OAuth2)
    • Twitter