Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | Preparatory refactoring of the SamlHandlerTestCase (#8938) | Richard van der Hoff | 2020-12-15 | 1 | -43/+89 |
| | | | | | | | | | | | | | * move simple_async_mock to test_utils ... so that it can be re-used * Remove references to `SamlHandler._map_saml_response_to_user` from tests This method is going away, so we can no longer use it as a test point. Instead, factor out a higher-level method which takes a SAML object, and verify correct behaviour by mocking out `AuthHandler.complete_sso_login`. * changelog | ||||
* | Skip the SAML tests if xmlsec1 isn't available. (#8905) | Patrick Cloke | 2020-12-09 | 1 | -0/+23 |
| | |||||
* | Fix a regression that mapping providers should be able to redirect users. ↵ | Patrick Cloke | 2020-12-04 | 1 | -0/+28 |
| | | | | | (#8878) This was broken in #8801. | ||||
* | Fix a regression when grandfathering SAML users. (#8855) | Patrick Cloke | 2020-12-02 | 1 | -1/+33 |
| | | | | | | This was broken in #8801 when abstracting code shared with OIDC. After this change both SAML and OIDC have a concept of grandfathering users, but with different implementations. | ||||
* | Add basic SAML tests for mapping users. (#8800) | Patrick Cloke | 2020-12-02 | 1 | -0/+136 |