-
Notifications
You must be signed in to change notification settings - Fork 475
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README to remove an insecure suggestion #704
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
@@ -51,12 +51,12 @@ passport.use( | |||
authnContext: [ | |||
"http://schemas.microsoft.com/ws/2008/06/identity/authenticationmethod/password", | |||
], | |||
// not sure if this is necessary? | |||
acceptedClockSkewMs: -1, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
node-saml/node-saml/docs/adfs @ <= v4.0.0-beta.3 has this same insecure example (that same node-saml/node-saml
document contains string as value for authnContext
).
identifierFormat: null, | ||
// this is configured under the Advanced tab in AD FS relying party | ||
signatureAlgorithm: "sha256", | ||
racComparison: "exact", // default to exact RequestedAuthnContext Comparison Type | ||
// From the metadata document | ||
audience: "https://adfs.acme_tools.com/FederationMetadata/2007-06/FederationMetadata.xml", |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This example value would be more clearer if it would equal to value of issuer
(with proper comment) because audience
defaults to issuer
(see node-saml/node-saml#25 (comment)). This example's issuer
is "acme_tools_com"
.
Value and code commet of audience: "https://adfs.acme_tools.com/FederationMetadata/2007-06/FederationMetadata.xml"
doesn't "resonate" with anything (or did I miss something?)
Description
Update README to remove an insecure suggestion.