Skip to main content

Django CAS 1.0/2.0/3.0 client authentication library, support Django 2.2, 3.0, 3.1, 3.2, 4.0 and Python 3.7+

Project description

django-cas-ng is Django CAS (Central Authentication Service) 1.0/2.0/3.0 client library to support SSO (Single Sign On) and Single Logout (SLO).

It supports Django 2.2, 3.0, 3.1, 3.2, 4.0 and Python 3.7+!


Since there is no more further CAS protocol development, Code in this repo is stable and in maintain mode, accept PR for bugfix and minor enhancement.


Checkout document at

Quick links:


  • Supports CAS versions 1.0, 2.0 and 3.0

  • Support Single Logout (needs CAS server support)

  • Supports Token auth schemes

  • Can fetch Proxy Granting Ticket

  • Supports Django 2.2, 3.0, 3.1, 3.2 and 4.0

  • Supports using a User custom model

  • Supports Python 3.7+

  • Supports typing hints in public API.

To support django 1.x and Python 2.x, please use 3.6.0.


New contributors are always welcome! Check out Contribution to get involved.

Change Log

This project adheres to Semantic Versioning. Checkout all the Changelog.

Project details

Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

django-cas-ng-5.0.1.tar.gz (18.9 kB view hashes)

Uploaded source

Built Distribution

django_cas_ng-5.0.1-py2.py3-none-any.whl (27.2 kB view hashes)

Uploaded py2 py3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page