oauth2orize-examples
oauth2orize-examples copied to clipboard
Some oauth examples and implementation.
Hi. My question is: Why do we need to check client twice? Isn't it enough to fetch client in passport strategy and then simply use client object which was passed...
The code in the Grant Flow doesn't invalidate the Authorization Code after it's used to successfully issue an access token, so you can reuse the authorization code to issue another...
I am using your example, but want to host it on a path other than `/`. Is there a property I can set (or other approach) to achieve this simply?
I accidentally miss saving my user.id, so the clientID is used for BearerStrategy and found this bug. I think in auth.js line 100 `db.clients.findByClientId` should be change with `db.clients.find`
It'd be great if we could have an example working with SwaggerExpress
https://github.com/coolaj86/example-oauth2orize-consumer/issues which then says the repo moved is dead.