0001-auth_saml-remove-useless-credentials-param-and-add-o.patch
src/authentic2_auth_saml/backends.py | ||
---|---|---|
28 | 28 | |
29 | 29 | |
30 | 30 |
class SAMLBackend(SAMLBackend): |
31 |
def authenticate(self, saml_attributes, **credentials):
|
|
31 |
def authenticate(self, saml_attributes, request=None):
|
|
32 | 32 |
if not app_settings.enable: |
33 | 33 |
return None |
34 |
return super(SAMLBackend, self).authenticate(saml_attributes, **credentials)
|
|
34 |
return super(SAMLBackend, self).authenticate(saml_attributes, request)
|
|
35 | 35 | |
36 | 36 |
def get_saml2_authn_context(self): |
37 | 37 |
# Pass AuthnContextClassRef from the previous IdP |
38 |
- |