Skip to content

Instantly share code, notes, and snippets.

Created July 30, 2014 16:02
What would you like to do?
Minimum subclass of ShibbolethRemoteUserMiddleware.
from shibboleth.middleware import ShibbolethRemoteUserMiddleware, ShibbolethValidationError
class MyAppAuthenticationMiddleware(ShibbolethRemoteUserMiddleware):
Handle login via Shibboleth and permissions for viewing and
editing profiles and resources.
header = "Shibboleth-localId"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment