passport-oauth2
passport-oauth2 copied to clipboard
Configure Client Authentication Method
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.
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.