Skip to content

Welcome to Django Google SSO

Motivation

This library aims to simplify the process of authenticating users with Google in Django Admin pages, inspired by libraries like django_microsoft_auth and django-admin-sso

Why another library?

  • This library aims for simplicity and ease of use. django-allauth is de facto solution for Authentication in Django, but add lots of boilerplate, specially the html templates. Django-Google-SSO just add a fully customizable "Login with Google" button in the default login page.

  • django-admin-sso is a good solution, but it uses a deprecated google auth2client version.


Install

pip install django-google-sso

Currently this project supports:

  • Python 3.11, 3.12 and 3.13
  • Django 4.2, 5.0, 5.1 and 5.2

Older python/django versions are not supported.