Updated passport-saml to 4.x (#13851)

* Install passport-saml ^4.0.4

* update code with passport-saml 4.x breaking changes

* update settings for passport-saml 4.x

* update tests for passport-saml 4.x

* Fix audience validation in group SSO tests

* Added `issuer` to Group SSO settings and metadata test

* Added `wantAuthnResponseSigned: false,` to Group SSO config

* Remove unnecessary settings for metadata test

* renamed createMockCollabratecSamlResponse.js

GitOrigin-RevId: 3a0b1b4ed172b05dffb3e484d50895e8bc118008
This commit is contained in:
Miguel Serrano
2023-12-12 09:04:13 +00:00
committed by Copybot
parent d96283e593
commit 621e5db6e6
2 changed files with 302 additions and 41 deletions
+1 -1
View File
@@ -68,6 +68,7 @@
"@contentful/rich-text-types": "^16.0.2",
"@google-cloud/bigquery": "^6.0.1",
"@node-oauth/oauth2-server": "^4.3.0",
"@node-saml/passport-saml": "^4.0.4",
"@overleaf/access-token-encryptor": "*",
"@overleaf/fetch-utils": "*",
"@overleaf/logger": "*",
@@ -143,7 +144,6 @@
"passport-local": "^1.0.0",
"passport-oauth2": "^1.5.0",
"passport-orcid": "0.0.4",
"passport-saml": "^3.2.4",
"passport-twitter": "^1.0.4",
"pug": "^3.0.1",
"pug-runtime": "^3.0.1",