Install & Compatibility
Where this runs
tested against v5.0.0 · pip install
no network on importno background threads
Install × environment matrix
Each cell = how many times install + import succeeded across repeated harness runs. Partial = flaky.
glibc = Debian/Ubuntu slim · musl = Alpine Linux
muslpy 3.10–3.95 runs
installs and imports cleanly · install 0.0s · import 0.000s · 105.9MB
glibcpy 3.10–3.95 runs
installs and imports cleanly · install 7.1s · import 0.000s · 107MB
107MB installed
● package 107MB
Code
Verified usage
Verified import paths — ran on the pinned version, not inferred.
EdXOpenIdConnect
✓ from auth_backends.open_id_connect import EdXOpenIdConnect
✗ from edx_auth_backends.open_id_connect import EdXOpenIdConnect
Basic configuration for Open edX SSO using OpenID Connect.
# settings.py
INSTALLED_APPS = [
...
'social_django',
'edx_auth_backends',
]
AUTHENTICATION_BACKENDS = [
'edx_auth_backends.backends.EdXOpenIdConnect',
'django.contrib.auth.backends.ModelBackend',
]
SOCIAL_AUTH_EDX_OAUTH2_KEY = os.environ.get('EDX_OAUTH2_KEY', '')
SOCIAL_AUTH_EDX_OAUTH2_SECRET = os.environ.get('EDX_OAUTH2_SECRET', '')
# See docs for full pipeline settings.
Upgrade
Version history
5.0.0latest on PyPI · released Mar 11, 2026
Audit
Dependencies
DjangorequiredBackends require Django settings and middleware
social-auth-corerequiredUsed by backends for OAuth2/OpenID Connect flows
social-auth-app-djangorequiredDjango integration for social_auth