Skip to content

Strategy options based on req #131

@neemah

Description

@neemah

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions