jaredhanson / passport-openidconnect

OpenID Connect authentication strategy for Passport and Node.js.
https://www.passportjs.org/packages/passport-openidconnect/?utm_source=github&utm_medium=referral&utm_campaign=passport-openidconnect&utm_content=about
MIT License
188 stars 173 forks source link

Ability to support additional parameters? #96

Open brian-learningpool opened 2 years ago

brian-learningpool commented 2 years ago

I was wondering would you accept a PR to support an additional parameters object as part of the Strategy options?

I've been using the package to authenticate with OneLogin, and it works well, but in order to return custom attributes it requires the addition of a resource attribute to params.

topbloc-beiswenger commented 2 years ago

I also have a use case for this, trying to use additional parameters in the Okta API