passport-oauth2 icon indicating copy to clipboard operation
passport-oauth2 copied to clipboard

Configure Client Authentication Method

Open tadaoshimura opened this issue 4 years ago • 1 comments
trafficstars

Is there a way to configure the client authentication method? It seems to be defaulted to client_secret_post but I would like to change it to client_secret_basic.

tadaoshimura avatar Oct 06 '21 18:10 tadaoshimura

There currently is not, no. I would be willing to accept a pull request that implemented this functionality. It would also required a corresponding pull request to the underlying oauth dependency.

For anyone willing to take this on, looking at passport-openidconnect PR #54 can serve as a starting point. That PR implemented most of this functionality, albeit in a way that was too invasive (and potentially brittle) to merge.

jaredhanson avatar Oct 28 '21 14:10 jaredhanson