Apologies in advance for what might be an obvious question/answer, but I keep scouring the docs and cannot find it.
I know FeathersJS has drop-in strategies for Facebook/Twitter/Github -- I see those in the docs. And I know you can do all sorts of customization authorization strategies. All I am looking to do is authenticate users through a Oauth2 provider that doesnt already have a pre-packaged strategy. I cannot find a working example that does this.
More frustratingly, when I try to follow examples/docs, I get errors coming from the feathersjs npm modules, like:
<...>/node_modules/@feathersjs/authentication-oauth2/lib/index.js:96
app.passport.use(name, new Strategy(oauth2Settings, verifier.verify.bind(verifier)));
^
TypeError: Strategy is not a constructor
Does anyone have a working example?