Skip to content
  1. Mar 19, 2024
  2. Aug 01, 2023
  3. Jul 19, 2023
  4. Jul 11, 2023
  5. May 26, 2023
  6. Jan 10, 2023
  7. Jan 04, 2023
  8. Dec 29, 2022
  9. Dec 14, 2022
  10. Nov 07, 2022
  11. Oct 03, 2022
  12. Jun 17, 2022
  13. Jun 11, 2022
  14. Apr 05, 2022
  15. Mar 22, 2022
  16. Feb 08, 2022
  17. Feb 01, 2022
  18. Jan 25, 2022
  19. Jan 18, 2022
  20. Jan 05, 2022
  21. Jan 04, 2022
    • David Taylor's avatar
      DEV: Avoid storing state in the SAMLAuthenticator instance (#61) · b486bfdb
      David Taylor authored
      There is only one SAMLAuthenticator instance per-process. Storing user-specific state in it is risky (although, in our default unicorn-based config, is unlikely to cause issues because we only handle one concurrent request per process).
      
      This commit also updates our implementation to use the built-in `#single` and `#multi` methods provided by the SAML gem. This avoids the need for our custom `&.first`, `&.split` and `&.join` implementation.
      b486bfdb
  22. Dec 29, 2021
  23. Dec 23, 2021
  24. Dec 16, 2021
  25. Dec 15, 2021
    • David Taylor's avatar
      FIX: Ensure JS script path is correct for subfolder (#57) · 7792d1eb
      David Taylor authored
      The change in 245b70d4 means that the CSP middleware now activates for the `/auth/saml` route. That's good, but it also broke things for subfolder installations because the CSP includes the base_path, while the SAML script path did not. This commit fixes that, and adds an integration spec to ensure the script is included in the script_src directive for regular and subfolder sites.
      7792d1eb
    • David Taylor's avatar
      FIX: Add `content-type` header to auto-submitting form (#56) · 21a23caa
      David Taylor authored
      In the vast majority of cases, this wasn't causing a problem because browsers will auto-detect the content-type. However, if any intermediate proxies add the `X-Content-Type-Options: nosniff` header, then the html will be displayed as plain text, and login will be broken.
      21a23caa
    • David Taylor's avatar
      FIX: Do not compress SAML request for POST binding (#55) · 792a51c9
      David Taylor authored
      The SAML spec requires compression for the standard Redirect binding. However, it is not used in the POST binding. This regressed during the refactoring of 95ccea3f
      792a51c9
  26. Dec 13, 2021
  27. Dec 10, 2021