Skip to content

Commit 4ef3df4

Browse files
committed
deps added, env updated
1 parent f7cb8c9 commit 4ef3df4

File tree

4 files changed

+125
-0
lines changed

4 files changed

+125
-0
lines changed

.env.sample

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,3 +90,7 @@ AWS_S3_SECRET_ACCESS_KEY=
9090
AWS_S3_BUCKET_NAME=
9191
AWS_S3_BUCKET_BASE_URL=
9292
AWS_S3_BUCKET_ENDPOINT=
93+
94+
# SSO Service Provider Entity ID
95+
# Unique identifier for Hawk in SAML IdP configuration
96+
SSO_SP_ENTITY_ID=urn:hawk:tracker:saml

package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,7 @@
5858
"@types/uuid": "^8.3.4",
5959
"ai": "^5.0.89",
6060
"amqp-connection-manager": "^3.1.0",
61+
"@node-saml/node-saml": "^5.0.1",
6162
"amqplib": "^0.5.5",
6263
"apollo-server-express": "^3.10.0",
6364
"argon2": "^0.28.7",

src/types/env.d.ts

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,5 +30,13 @@ declare namespace NodeJS {
3030
* Secret string for encoding/decoding user's tokens
3131
*/
3232
JWT_SECRET_AUTH: string;
33+
34+
/**
35+
* SSO Service Provider Entity ID
36+
* Unique identifier for Hawk in SAML IdP configuration
37+
*
38+
* @example "urn:hawk:tracker:saml"
39+
*/
40+
SSO_SP_ENTITY_ID: string;
3341
}
3442
}

yarn.lock

Lines changed: 112 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -758,6 +758,24 @@
758758
resolved "https://registry.yarnpkg.com/@n1ru4l/json-patch-plus/-/json-patch-plus-0.2.0.tgz#b8fa09fd980c3460dfdc109a7c4cc5590157aa6b"
759759
integrity sha512-pLkJy83/rVfDTyQgDSC8GeXAHEdXNHGNJrB1b7wAyGQu0iv7tpMXntKVSqj0+XKNVQbco40SZffNfVALzIt0SQ==
760760

761+
"@node-saml/node-saml@^5.0.1":
762+
version "5.1.0"
763+
resolved "https://registry.yarnpkg.com/@node-saml/node-saml/-/node-saml-5.1.0.tgz#43d61d4ea882f2960a44c7be5ae0030dafea2382"
764+
integrity sha512-t3cJnZ4aC7HhPZ6MGylGZULvUtBOZ6FzuUndaHGXjmIZHXnLfC/7L8a57O9Q9V7AxJGKAiRM5zu2wNm9EsvQpw==
765+
dependencies:
766+
"@types/debug" "^4.1.12"
767+
"@types/qs" "^6.9.18"
768+
"@types/xml-encryption" "^1.2.4"
769+
"@types/xml2js" "^0.4.14"
770+
"@xmldom/is-dom-node" "^1.0.1"
771+
"@xmldom/xmldom" "^0.8.10"
772+
debug "^4.4.0"
773+
xml-crypto "^6.1.2"
774+
xml-encryption "^3.1.0"
775+
xml2js "^0.6.2"
776+
xmlbuilder "^15.1.1"
777+
xpath "^0.0.34"
778+
761779
"@opentelemetry/[email protected]", "@opentelemetry/api@^1.4.0":
762780
version "1.9.0"
763781
resolved "https://registry.yarnpkg.com/@opentelemetry/api/-/api-1.9.0.tgz#d03eba68273dc0f7509e2a3d5cba21eae10379fe"
@@ -1010,6 +1028,13 @@
10101028
resolved "https://registry.yarnpkg.com/@types/cors/-/cors-2.8.12.tgz#6b2c510a7ad7039e98e7b8d3d6598f4359e5c080"
10111029
integrity sha512-vt+kDhq/M2ayberEtJcIN/hxXy1Pk+59g2FV/ZQceeaTyCtCucjL2Q7FXlFjtWn4n15KCr1NE2lNNFhp0lEThw==
10121030

1031+
"@types/debug@^4.1.12":
1032+
version "4.1.12"
1033+
resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.12.tgz#a155f21690871953410df4b6b6f53187f0500917"
1034+
integrity sha512-vIChWdVG3LG1SMxEvI/AK+FWJthlrqlTu7fbrlywTkkaONwk/UAGaULXRlf8vkzFBLVm0zkMdCquhL5aOjhXPQ==
1035+
dependencies:
1036+
"@types/ms" "*"
1037+
10131038
"@types/debug@^4.1.5":
10141039
version "4.1.7"
10151040
resolved "https://registry.yarnpkg.com/@types/debug/-/debug-4.1.7.tgz#7cc0ea761509124709b8b2d1090d8f6c17aadb82"
@@ -1266,6 +1291,11 @@
12661291
resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.7.tgz#63bb7d067db107cc1e457c303bc25d511febf6cb"
12671292
integrity sha512-FGa1F62FT09qcrueBA6qYTrJPVDzah9a+493+o2PCXsesWHIn27G98TsSMs3WPNbZIEj4+VJf6saSFpvD+3Zsw==
12681293

1294+
"@types/qs@^6.9.18":
1295+
version "6.14.0"
1296+
resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.14.0.tgz#d8b60cecf62f2db0fb68e5e006077b9178b85de5"
1297+
integrity sha512-eOunJqu0K1923aExK6y8p6fsihYEn/BYuQ4g0CxAAgFc4b/ZLN4CrsRZ55srTdqoiLzU2B2evC+apEIxprEzkQ==
1298+
12691299
"@types/qs@^6.9.7":
12701300
version "6.9.17"
12711301
resolved "https://registry.yarnpkg.com/@types/qs/-/qs-6.9.17.tgz#fc560f60946d0aeff2f914eb41679659d3310e1a"
@@ -1314,6 +1344,20 @@
13141344
resolved "https://registry.yarnpkg.com/@types/uuid/-/uuid-8.3.4.tgz#bd86a43617df0594787d38b735f55c805becf1bc"
13151345
integrity sha512-c/I8ZRb51j+pYGAu5CrFMRxqZ2ke4y2grEBO5AUjgSkSk+qT2Ea+OdWElz/OiMf5MNpn2b17kuVBwZLQJXzihw==
13161346

1347+
"@types/xml-encryption@^1.2.4":
1348+
version "1.2.4"
1349+
resolved "https://registry.yarnpkg.com/@types/xml-encryption/-/xml-encryption-1.2.4.tgz#0eceea58c82a89f62c0a2dc383a6461dfc2fe1ba"
1350+
integrity sha512-I69K/WW1Dv7j6O3jh13z0X8sLWJRXbu5xnHDl9yHzUNDUBtUoBY058eb5s+x/WG6yZC1h8aKdI2EoyEPjyEh+Q==
1351+
dependencies:
1352+
"@types/node" "*"
1353+
1354+
"@types/xml2js@^0.4.14":
1355+
version "0.4.14"
1356+
resolved "https://registry.yarnpkg.com/@types/xml2js/-/xml2js-0.4.14.tgz#5d462a2a7330345e2309c6b549a183a376de8f9a"
1357+
integrity sha512-4YnrRemBShWRO2QjvUin8ESA41rH+9nQGLUGZV/1IDhi3SL9OhdpNC/MrulTWuptXKwhx/aDxE7toV0f/ypIXQ==
1358+
dependencies:
1359+
"@types/node" "*"
1360+
13171361
"@types/yargs-parser@*":
13181362
version "21.0.0"
13191363
resolved "https://registry.yarnpkg.com/@types/yargs-parser/-/yargs-parser-21.0.0.tgz#0c60e537fa790f5f9472ed2776c2b71ec117351b"
@@ -1374,6 +1418,16 @@
13741418
resolved "https://registry.yarnpkg.com/@vercel/oidc/-/oidc-3.0.3.tgz#82c2b6dd4d5c3b37dcb1189718cdeb9db402d052"
13751419
integrity sha512-yNEQvPcVrK9sIe637+I0jD6leluPxzwJKx/Haw6F4H77CdDsszUn5V3o96LPziXkSNE2B83+Z3mjqGKBK/R6Gg==
13761420

1421+
"@xmldom/is-dom-node@^1.0.1":
1422+
version "1.0.1"
1423+
resolved "https://registry.yarnpkg.com/@xmldom/is-dom-node/-/is-dom-node-1.0.1.tgz#83b9f3e1260fb008061c6fa787b93a00f9be0629"
1424+
integrity sha512-CJDxIgE5I0FH+ttq/Fxy6nRpxP70+e2O048EPe85J2use3XKdatVM7dDVvFNjQudd9B49NPoZ+8PG49zj4Er8Q==
1425+
1426+
"@xmldom/xmldom@^0.8.10", "@xmldom/xmldom@^0.8.5":
1427+
version "0.8.11"
1428+
resolved "https://registry.yarnpkg.com/@xmldom/xmldom/-/xmldom-0.8.11.tgz#b79de2d67389734c57c52595f7a7305e30c2d608"
1429+
integrity sha512-cQzWCtO6C8TQiYl1ruKNn2U6Ao4o4WBBcbL61yJl84x+j5sOWWFU9X7DpND8XZG3daDppSsigMdfAIl2upQBRw==
1430+
13771431
abab@^2.0.3, abab@^2.0.5:
13781432
version "2.0.6"
13791433
resolved "https://registry.yarnpkg.com/abab/-/abab-2.0.6.tgz#41b80f2c871d19686216b82309231cfd3cb3d291"
@@ -2481,6 +2535,13 @@ debug@^4.2.0:
24812535
dependencies:
24822536
ms "^2.1.3"
24832537

2538+
debug@^4.4.0:
2539+
version "4.4.3"
2540+
resolved "https://registry.yarnpkg.com/debug/-/debug-4.4.3.tgz#c6ae432d9bd9662582fce08709b038c58e9e3d6a"
2541+
integrity sha512-RGwwWnwQvkVfavKVt22FGLw+xYSdzARwm0ru6DhTVA3umU5hZc28V3kO4stgYryrTlLpuvgI9GiijltAjNbcqA==
2542+
dependencies:
2543+
ms "^2.1.3"
2544+
24842545
decamelize@^1.2.0:
24852546
version "1.2.0"
24862547
resolved "https://registry.yarnpkg.com/decamelize/-/decamelize-1.2.0.tgz#f6534d15148269b20352e7bee26f501f9a191290"
@@ -7182,6 +7243,24 @@ ws@^7.4.6:
71827243
resolved "https://registry.yarnpkg.com/ws/-/ws-7.5.9.tgz#54fa7db29f4c7cec68b1ddd3a89de099942bb591"
71837244
integrity sha512-F+P9Jil7UiSKSkppIiD94dN07AwvFixvLIj1Og1Rl9GGMuNipJnV9JzjD6XuqmAeiswGvUmNLjr5cFuXwNS77Q==
71847245

7246+
xml-crypto@^6.1.2:
7247+
version "6.1.2"
7248+
resolved "https://registry.yarnpkg.com/xml-crypto/-/xml-crypto-6.1.2.tgz#ed93e87d9538f92ad1ad2db442e9ec586723d07d"
7249+
integrity sha512-leBOVQdVi8FvPJrMYoum7Ici9qyxfE4kVi+AkpUoYCSXaQF4IlBm1cneTK9oAxR61LpYxTx7lNcsnBIeRpGW2w==
7250+
dependencies:
7251+
"@xmldom/is-dom-node" "^1.0.1"
7252+
"@xmldom/xmldom" "^0.8.10"
7253+
xpath "^0.0.33"
7254+
7255+
xml-encryption@^3.1.0:
7256+
version "3.1.0"
7257+
resolved "https://registry.yarnpkg.com/xml-encryption/-/xml-encryption-3.1.0.tgz#f3e91c4508aafd0c21892151ded91013dcd51ca2"
7258+
integrity sha512-PV7qnYpoAMXbf1kvQkqMScLeQpjCMixddAKq9PtqVrho8HnYbBOWNfG0kA4R7zxQDo7w9kiYAyzS/ullAyO55Q==
7259+
dependencies:
7260+
"@xmldom/xmldom" "^0.8.5"
7261+
escape-html "^1.0.3"
7262+
xpath "0.0.32"
7263+
71857264
xml-name-validator@^3.0.0:
71867265
version "3.0.0"
71877266
resolved "https://registry.yarnpkg.com/xml-name-validator/-/xml-name-validator-3.0.0.tgz#6ae73e06de4d8c6e47f9fb181f78d648ad457c6a"
@@ -7195,6 +7274,24 @@ [email protected]:
71957274
sax ">=0.6.0"
71967275
xmlbuilder "~9.0.1"
71977276

7277+
xml2js@^0.6.2:
7278+
version "0.6.2"
7279+
resolved "https://registry.yarnpkg.com/xml2js/-/xml2js-0.6.2.tgz#dd0b630083aa09c161e25a4d0901e2b2a929b499"
7280+
integrity sha512-T4rieHaC1EXcES0Kxxj4JWgaUQHDk+qwHcYOCFHfiwKz7tOVPLq7Hjq9dM1WCMhylqMEfP7hMcOIChvotiZegA==
7281+
dependencies:
7282+
sax ">=0.6.0"
7283+
xmlbuilder "~11.0.0"
7284+
7285+
xmlbuilder@^15.1.1:
7286+
version "15.1.1"
7287+
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-15.1.1.tgz#9dcdce49eea66d8d10b42cae94a79c3c8d0c2ec5"
7288+
integrity sha512-yMqGBqtXyeN1e3TGYvgNgDVZ3j84W4cwkOXQswghol6APgZWaff9lnbvN7MHYJOiXsvGPXtjTYJEiC9J2wv9Eg==
7289+
7290+
xmlbuilder@~11.0.0:
7291+
version "11.0.1"
7292+
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-11.0.1.tgz#be9bae1c8a046e76b31127726347d0ad7002beb3"
7293+
integrity sha512-fDlsI/kFEx7gLvbecc0/ohLG50fugQp8ryHzMTuW9vSa1GJ0XYWKnhsUx7oie3G98+r56aTQIUB4kht42R3JvA==
7294+
71987295
xmlbuilder@~9.0.1:
71997296
version "9.0.7"
72007297
resolved "https://registry.yarnpkg.com/xmlbuilder/-/xmlbuilder-9.0.7.tgz#132ee63d2ec5565c557e20f4c22df9aca686b10d"
@@ -7205,6 +7302,21 @@ xmlchars@^2.2.0:
72057302
resolved "https://registry.yarnpkg.com/xmlchars/-/xmlchars-2.2.0.tgz#060fe1bcb7f9c76fe2a17db86a9bc3ab894210cb"
72067303
integrity sha512-JZnDKK8B0RCDw84FNdDAIpZK+JuJw+s7Lz8nksI7SIuU3UXJJslUthsi+uWBUYOwPFwW7W7PRLRfUKpxjtjFCw==
72077304

7305+
7306+
version "0.0.32"
7307+
resolved "https://registry.yarnpkg.com/xpath/-/xpath-0.0.32.tgz#1b73d3351af736e17ec078d6da4b8175405c48af"
7308+
integrity sha512-rxMJhSIoiO8vXcWvSifKqhvV96GjiD5wYb8/QHdoRyQvraTpp4IEv944nhGausZZ3u7dhQXteZuZbaqfpB7uYw==
7309+
7310+
xpath@^0.0.33:
7311+
version "0.0.33"
7312+
resolved "https://registry.yarnpkg.com/xpath/-/xpath-0.0.33.tgz#5136b6094227c5df92002e7c3a13516a5074eb07"
7313+
integrity sha512-NNXnzrkDrAzalLhIUc01jO2mOzXGXh1JwPgkihcLLzw98c0WgYDmmjSh1Kl3wzaxSVWMuA+fe0WTWOBDWCBmNA==
7314+
7315+
xpath@^0.0.34:
7316+
version "0.0.34"
7317+
resolved "https://registry.yarnpkg.com/xpath/-/xpath-0.0.34.tgz#a769255e8816e0938e1e0005f2baa7279be8be12"
7318+
integrity sha512-FxF6+rkr1rNSQrhUNYrAFJpRXNzlDoMxeXN5qI84939ylEv3qqPFKa85Oxr6tDaJKqwW6KKyo2v26TSv3k6LeA==
7319+
72087320
xss@^1.0.8:
72097321
version "1.0.13"
72107322
resolved "https://registry.yarnpkg.com/xss/-/xss-1.0.13.tgz#6e48f616128b39f366dfadc57411e1eb5b341c6c"

0 commit comments

Comments
 (0)