Skip to content

Commit

Permalink
upd deps
Browse files Browse the repository at this point in the history
  • Loading branch information
ais-one committed Mar 1, 2024
1 parent 6c4d636 commit 3fef20c
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 8 deletions.
8 changes: 6 additions & 2 deletions apps/.env.dev
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,13 @@ OTP_EXPIRY=30 # in seconds - UNUSED
# URL to redirect if error
AUTH_ERROR_URL=

# SAML - SECRET
## SAML - SECRET
# SAML 4 to 5 breaking change
# cert (to remove) to idpCert (to add)
# signingCert (to remove) to publicCert (to add)
# https://github.com/node-saml/passport-saml#config-parameter-details
SAML_OPTIONS='{
"idpCert": "<Get From http://127.0.0.1:8081/realms/dev/protocol/saml/descriptor>",
"cert": "<Get From http://127.0.0.1:8081/realms/dev/protocol/saml/descriptor>",
"callbackUrl": "http://127.0.0.1:3000/api/saml/callback",
"entryPoint": "http://127.0.0.1:8081/realms/dev/protocol/saml",
Expand All @@ -84,7 +88,7 @@ SAML_JWT_MAP='{ "id": "nameID", "groups": "Role" }'
OIDC_OPTIONS='{
"URL": "http://127.0.0.1:8081/realms/dev/protocol/openid-connect",
"CLIENT_ID": "dev-client-oidc",
"CLIENT_SECRET": "<REDACTED>",
"CLIENT_SECRET": "<REDACTED>",
"CALLBACK": "http://127.0.0.1:3000/sso.html",
"REISSUE": true,
"ID_NAME": "preferred_username"
Expand Down
8 changes: 6 additions & 2 deletions apps/.env.development
Original file line number Diff line number Diff line change
Expand Up @@ -55,9 +55,13 @@ OTP_EXPIRY=30 # in seconds - UNUSED
# URL to redirect if error
AUTH_ERROR_URL=

# SAML - SECRET
## SAML - SECRET
# SAML 4 to 5 breaking change
# cert (to remove) to idpCert (to add)
# signingCert (to remove) to publicCert (to add)
# https://github.com/node-saml/passport-saml#config-parameter-details
SAML_OPTIONS='{
"idpCert": "<Get From http://127.0.0.1:8081/realms/dev/protocol/saml/descriptor>",
"cert": "<Get From http://127.0.0.1:8081/realms/dev/protocol/saml/descriptor>",
"callbackUrl": "http://127.0.0.1:3000/api/saml/callback",
"entryPoint": "http://127.0.0.1:8081/realms/dev/protocol/saml",
Expand All @@ -84,7 +88,7 @@ SAML_JWT_MAP='{ "id": "nameID", "groups": "Role" }'
OIDC_OPTIONS='{
"URL": "http://127.0.0.1:8081/realms/dev/protocol/openid-connect",
"CLIENT_ID": "dev-client-oidc",
"CLIENT_SECRET": "<REDACTED>",
"CLIENT_SECRET": "<REDACTED>",
"CALLBACK": "http://127.0.0.1:3000/sso.html",
"REISSUE": true,
"ID_NAME": "preferred_username"
Expand Down
9 changes: 7 additions & 2 deletions apps/.env.sample
Original file line number Diff line number Diff line change
Expand Up @@ -54,9 +54,14 @@ OTP_EXPIRY=30 # in seconds - UNUSED
# URL to redirect if error
AUTH_ERROR_URL=

# SAML - SECRET
## SAML - SECRET
# SAML 4 to 5 breaking change
# cert to idpCert
# cert (to remove) to idpCert (to add)
# signingCert (to remove) to publicCert (to add)
# https://github.com/node-saml/passport-saml#config-parameter-details
SAML_OPTIONS='{
"idpCert": "<Get From http://127.0.0.1:8081/realms/dev/protocol/saml/descriptor>",
"cert": "<Get From http://127.0.0.1:8081/realms/dev/protocol/saml/descriptor>",
"callbackUrl": "http://127.0.0.1:3000/api/saml/callback",
"entryPoint": "http://127.0.0.1:8081/realms/dev/protocol/saml",
Expand All @@ -83,7 +88,7 @@ SAML_JWT_MAP='{ "id": "nameID", "groups": "Role" }'
OIDC_OPTIONS='{
"URL": "http://127.0.0.1:8081/realms/dev/protocol/openid-connect",
"CLIENT_ID": "dev-client-oidc",
"CLIENT_SECRET": "<REDACTED>",
"CLIENT_SECRET": "<REDACTED>",
"CALLBACK": "http://127.0.0.1:3000/sso.html",
"REISSUE": true,
"ID_NAME": "preferred_username"
Expand Down
2 changes: 1 addition & 1 deletion apps/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"dependencies": {
"@json2csv/plainjs": "^7.0.6",
"base64url": "^3.0.1",
"csv-parse": "^5.5.3",
"csv-parse": "^5.5.5",
"fido2-lib": "^3.5.0",
"pdfkit": "^0.14.0",
"selfsigned": "^2.4.1"
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@
"@es-labs/esm": "^0.0.21",
"@es-labs/node": "^0.0.36",
"esm": "^3.2.25",
"express": "^4.18.2",
"express": "^4.18.3",
"express-jsdoc-swagger": "^1.8.0",
"sqlite3": "^5.1.7"
},
Expand Down

0 comments on commit 3fef20c

Please sign in to comment.