oauth2orize with an API?
authentication, oauth-2.0, passport.js
Solution
For future reference, I patched everything together in a small, understandable example. oauth2api
Problem
I'm trying to integrate an oauth2 server with an API and got terribly stuck. In the example, there are 3 different Strategies used (local, basic, bearer); Is there an explanation for that? How do I create client keys and secrets? Is there a working example for a simple login for users?