Passport-js How to create a custom strategy

Viewed 19476

I am looking to create my own strategy.

I have client_id, client_secret and related meta data. I also know the flow of execution. So I want to create my own strategy and add my custom logic for authentication.

I looked at passport-strategy, but I am not understanding how to implement my own strategy. Can anyone explain it?

1 Answers
Related