-
Notifications
You must be signed in to change notification settings - Fork 62
Open
Description
Hello, thanks for library, it works like a charm.
But there is one problem we are currently facing – we need to configurate strategy based on req data.
Currently:
new wsfedsaml2({
// ADFS RP identifier
realm: 'urn:node:wsfedapp',
identityProviderUrl: 'https://my-adfs/adfs/ls',
// ADFS token signing certificate
thumbprint: '5D27....D27E'
// or cert: fs.readFileSync("adfs_signing_key.cer")
}, function (profile, done) {
// ...
}))
And we need:
const getParams = req => {
return {
.... req based params
}
}
new wsfedsaml2(getParams, function (profile, done) {
// ...
}))
How do we achieve that?
Metadata
Metadata
Assignees
Labels
No labels