Skip to main content

A Django Central Authentication Service (CAS) single sign-on server

Project description

https://travis-ci.org/jbittel/django-mama-cas.png?branch=master

MamaCAS is a Django Central Authentication Service (CAS) single sign-on and single logout server. It implements the CAS 1.0, 2.0 and 3.0 protocols, including some of the optional features.

CAS is a single sign-on and single logout web protocol that allows a user to access multiple applications after providing their credentials a single time. It utilizes security tickets, unique text strings generated and validated by the server, allowing applications to authenticate a user without direct access to the user’s credentials (typically a user ID and password).

The source code can be found at github.com/jbittel/django-mama-cas, and is the preferred location for contributions, suggestions and bug reports. Documentation is available at django-mama-cas.readthedocs.org.

Quickstart

Django versions 2.2 to 3.1 are supported. It should work with Django >= 2.0 though.

Install with pip:

$ pip install django-mama-cas

Add to INSTALLED_APPS and run migrate:

INSTALLED_APPS += ('mama_cas',)

Include the URLs:

urlpatterns += [url(r'', include('mama_cas.urls'))]

See the full installation instructions for details.

Upgrade

Upgrade with pip:

$ pip install --upgrade django-mama-cas

Before upgrading, see the changelog for any backward incompatible changes or other important upgrade notes.

Contributing

Contributions are welcome! The preferred process for changes is by submitting GitHub pull requests. New code should follow both PEP8 and the Django coding style, generally respecting the style of the surrounding code. When appropriate, pull requests should add or update tests, along with any necessary documentation changes. With any substantial contribution, feel free to add yourself as a contributor in the AUTHORS file.

Development dependencies can be installed from requirements.txt. Execute the test suite with:

$ py.test

You can use tox to run the tests against all supported versions of Python and Django.

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-mama-cas-2.5.0.tar.gz (41.1 kB view details)

Uploaded Source

File details

Details for the file django-mama-cas-2.5.0.tar.gz.

File metadata

  • Download URL: django-mama-cas-2.5.0.tar.gz
  • Upload date:
  • Size: 41.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.1 importlib_metadata/3.7.3 pkginfo/1.7.0 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.59.0 CPython/3.7.7

File hashes

Hashes for django-mama-cas-2.5.0.tar.gz
Algorithm Hash digest
SHA256 477b7be9f92f1f249960c9dc2d7688f9f0835180ead814cb2c47e16cd5132262
MD5 77a8324c2345d36a5f1ef91142ca90d8
BLAKE2b-256 8140e4f7f364925eba075c24a2a1cd9dbd95f05ca0a73e58c47cc52dd0a6b05e

See more details on using hashes here.

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