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.10, 3.11 and 3.12
  • Django 4.0, 4.1 and 4.2

For python 3.8 please use version 2.x For python 3.9 please use version 3.x