Skip to content

Commit

Permalink
Read me update for authnContext example for ADFS (#647)
Browse files Browse the repository at this point in the history
  • Loading branch information
jyenduri-uptycs authored Oct 28, 2021
1 parent 2ecc7b5 commit f7a8bb5
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -316,7 +316,7 @@ Here is a configuration that has been proven to work with ADFS:
issuer: 'https://your-app.example.net/login/callback',
callbackUrl: 'https://your-app.example.net/login/callback',
cert: 'MIICizCCAfQCCQCY8tKaMc0BMjANBgkqh ... W==',
authnContext: 'http://schemas.microsoft.com/ws/2008/06/identity/authenticationmethod/windows',
authnContext: ['http://schemas.microsoft.com/ws/2008/06/identity/authenticationmethod/windows'],
identifierFormat: null
}
```
Expand Down
3 changes: 2 additions & 1 deletion docs/adfs/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,9 @@ passport.use(
privateKey: fs.readFileSync("/path/to/acme_tools_com.key", "utf-8"),
cert: fs.readFileSync("/path/to/adfs.acme_tools.com.crt", "utf-8"),
// other authn contexts are available e.g. windows single sign-on
authnContext:
authnContext: [
"http://schemas.microsoft.com/ws/2008/06/identity/authenticationmethod/password",
],
// not sure if this is necessary?
acceptedClockSkewMs: -1,
identifierFormat: null,
Expand Down

0 comments on commit f7a8bb5

Please sign in to comment.