diff --git a/mellon/backends.py b/mellon/backends.py index 575bb08..309ffb6 100644 --- a/mellon/backends.py +++ b/mellon/backends.py @@ -21,7 +21,8 @@ from . import utils class SAMLBackend(ModelBackend): - def authenticate(self, saml_attributes, request=None): + def authenticate(self, request=None, **credentials): + saml_attributes = credentials.get('saml_attributes') # without an issuer we can do nothing if 'issuer' not in saml_attributes: return