mirror of
https://github.com/wekan/wekan.git
synced 2026-11-25 04:49:41 -05:00
Dependabot's 5.1.0 -> 5.2.0 bump (#6850) changed the app's package.json, but a SAML login is verified by the wekan-accounts-saml package's own copy, pinned by its Npm.depends to 5.1.0 - so nothing that runs changed. 5.2.0 is a hardening release a login relies on: it rejects a message with more than one Issuer, checks idpIssuer on the Response and its assertion, rejects a parsed query whose RelayState is not the signed one, and checks a POST LogoutResponse's status and issuer. The package pins 5.2.0 now. samlLogin.test.cjs required '5.1.0' in one place and '^5.1.0' in the other; it requires the package and package.json to name the SAME version, and at least 5.2.0, so a bump of one alone fails. A login roundtrip with the package's own copy (node-saml 5.2.0, xml-crypto 6.4.0) and WeKan's options: a signed Response and a signed Assertion log in; a NameID changed after signing, a signature by another key, an unsigned response, and an answer to a request WeKan never made are refused. saml-popup-error.e2e.js completes a real signed login in the browser. Thanks to xet7 !