Skip to main content

a CAS plugin for repoze.who

Project description

Introduction

repoze.who.cas is a repoze.who plugin that allows the use of a CAS <http://www.jasig.org/cas) server as an authentication provider. It allows you to specify a CAS server against which your users can authenticate. Once they authenticate against the CAS server, they’ll be redirected to your application in such a way that their identity will be injected into the WSGI environment with a key that you can specify.

Example who.ini

[plugin:cas] use = repoze.who.plugins.cas:make_plugin cookie_name = someapp-cas secret = ahardtoguessthing cas_login_url = https://cas.example.com/login cas_validate_url = https://cas.example.com/validate

[general] request_classifier = repoze.who.classifiers:default_request_classifier challenge_decider = repoze.who.classifiers:default_challenge_decider remote_user_key = REMOTE_USER

[identifiers] plugins = cas

[authenticators] plugins = cas

[challengers] plugins = cas

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

repoze.who.cas-0.5.tar.gz (4.2 kB view hashes)

Uploaded Source

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