Easily add Google Authentication to your Django projects. Supports OAuth2 login, custom user models, multi-tenant setups, and automatic user creation. Current version 9.0.3, requires Python >=3.11 and Django. Active development.
pip install django-google-ssoNo compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Quickstart example showing import and configuration hints.
Update Python to >=3.11 and run `pip install django-google-sso>=9.0.0,<10.0.0`.
Replace GOOGLE_SSO_SCOPE with GOOGLE_SSO_OAUTH_SCOPE in settings.py.
Set GOOGLE_SSO_USE_CUSTOM_USER = True in settings.py if your user model is not auth.User.
Add GOOGLE_SSO_AUTH_LOGIN_URL = '/my-custom-path/' in settings.py.
Replace GOOGLE_SSO_AUTO_CREATE_FIRST_SUPERUSER with GOOGLE_SSO_AUTO_LOGIN_ON_SIGNUP = True.
No dependency data recorded yet.