mirror of
https://github.com/overleaf/overleaf.git
synced 2025-04-08 03:55:24 +00:00
Upgrade passport-saml to overleaf fork of 3.0.0 and xml-crypto to 2.1.2 (#4190)
* Use overleaf fork of passport-saml and remove existing monkey patch * Update xml-crypto to 2.1.2 * New way of loading MultiSamlStrategy * Rename privateCert privateKey * Add promisified SAML Cache Provider functions for passport-saml 3.0.0 * Remove test which checked xml-crypto version for old patch * Sign mock SAML responses with test saml-key and provide saml-cert to test settings * Decaffeinate createMockSamlResponse.js * Add (unused) cert property to SAML config for metadata endpoint Removes non-needed `cert` property from `settings.test.js` * Allow SAMLManager to accept either privateKey or privateCert (legacy) config keys Co-authored-by: Christopher Hoskin <christopher.hoskin@gmail.com> GitOrigin-RevId: bdb9d1c9bf72a7fbf60c0b2afa9068e7a8c147d3
This commit is contained in:
parent
34ba76aa76
commit
f6c6a06b80
2 changed files with 209 additions and 144 deletions
349
services/web/package-lock.json
generated
349
services/web/package-lock.json
generated
File diff suppressed because it is too large
Load diff
|
@ -135,7 +135,7 @@
|
|||
"passport-local": "^1.0.0",
|
||||
"passport-oauth2": "^1.5.0",
|
||||
"passport-orcid": "0.0.4",
|
||||
"passport-saml": "^1.3.3",
|
||||
"passport-saml": "https://github.com/overleaf/passport-saml/releases/download/v3.0.0-overleaf/passport-saml-3.0.0-overleaf.tar.gz",
|
||||
"passport-twitter": "^1.0.4",
|
||||
"pdfjs-dist": "^2.2.228",
|
||||
"prop-types": "^15.7.2",
|
||||
|
@ -169,7 +169,7 @@
|
|||
"uuid": "^3.0.1",
|
||||
"valid-data-url": "^2.0.0",
|
||||
"valid-url": "^1.0.9",
|
||||
"xml-crypto": "1.4.0",
|
||||
"xml-crypto": "^2.1.2",
|
||||
"xml2js": "^0.4.22",
|
||||
"xregexp": "^4.3.0",
|
||||
"yauzl": "^2.10.0"
|
||||
|
|
Loading…
Add table
Reference in a new issue