--- id: django-google-sso version: "10.0.0" license: MIT license_treatment: permissive maintenance: active --- # django-google-sso — Easily add Google Authentication to your Django Projects License: permissive · Maintenance: active · Downloads: 203.7K/mo ## What it is and what it does Django Google SSO is a Django authentication backend that integrates Google OAuth 2.0 login into your Django Admin interface. It adds a "Login with Google" button to the admin login page with minimal configuration—just add the app to INSTALLED_APPS, configure your Google OAuth credentials, and run migrations. The package handles the full OAuth 2.0 flow including PKCE support, and can automatically create Django users from email addresses in allowable domains. The package depends on django, google-auth, google-auth-httplib2, google-auth-oauthlib, and loguru. It requires Python 3.11+ and Django 5.0 or later. It works with popular Django Admin skins like Grappelli and Jazzmin. No template modifications are needed—the login button integrates directly into the standard Django Admin login page. Use it for: - Add Google login to a Django Admin interface for team members with corporate Google Workspace accounts. - Auto-provision Django users from a specific email domain without manual account creation. - Replace password-based admin authentication with OAuth 2.0 for improved security and compliance. - Integrate Google SSO into a Django project that already uses Grappelli or Jazzmin admin skins. - Enable single sign-on for a multi-tenant Django application using Google accounts as the identity provider. ## Worth the install? AI-flagged interpretation of the facts above — verify before relying. Adds Google OAuth 2.0 authentication to Django projects with a customizable login button for the Django Admin interface, supporting PKCE and auto-user creation from allowable domains. Yes. The package is actively maintained, has low install friction, uses permissive MIT licensing, and solves a common need with minimal configuration. It supports current Python and Django versions and has no known security vulnerabilities. Install it if you need Google OAuth 2.0 authentication in Django Admin and are on Python 3.11+ and Django 5.0+. ## Install pip install django-google-sso uv add django-google-sso poetry add django-google-sso ## Installing django-google-sso Before you install: Low friction: pure Python wheel with five runtime dependencies (django, google-auth, google-auth-httplib2, google-auth-oauthlib, loguru). Active maintenance—last commit 2026-06-17, released 58 days ago. Requires Python 3.11+ and Django 5.0+; older versions unsupported. License in practice: MIT license (permissive): you may use, modify, and distribute this package freely in commercial and private projects with minimal restrictions. Quickstart: pip install django-google-sso # settings.py INSTALLED_APPS = ["django.contrib.messages", "django_google_sso"] GOOGLE_SSO_CLIENT_ID = "your-client-id" GOOGLE_SSO_PROJECT_ID = "your-project-id" GOOGLE_SSO_CLIENT_SECRET = "your-secret" GOOGLE_SSO_ALLOWABLE_DOMAINS = ["example.com"] # urls.py path("google_sso/", include("django_google_sso.urls", namespace="django_google_sso")) python manage.py migrate Requires Python 3.11+ and Django 5.0+; Google OAuth credentials (client ID, project ID, secret) must be obtained from Google Console and configured in settings.py. Verify before relying: - Whether auto-created users receive specific roles or permissions by default beyond basic authentication. - Support for custom user model backends beyond Django's default User model. - Performance characteristics with high-volume concurrent logins or token refresh scenarios. ## Package facts - License: MIT (permissive) - Python support: supports_current - Install friction: low - Maintenance: active - Downloads: 203.7K/month (top 15,000 on PyPI) - Known vulnerabilities: none known ## Tags django google authentication, google sso django, django admin google login, oauth2 django google, django google oauth, google login button django, django authentication google, oauth2, django-admin, sso [View on SkillFed](https://skillfed.io/packages/django-google-sso) · [View on PyPI](https://pypi.org/project/django-google-sso/)