ammmir / node-oauth2-provider

A simple customizable OAuth 2.0 provider (server) for node.js.
MIT License
628 stars 161 forks source link

Hard Coded URIs #17

Closed pixelshaded closed 11 years ago

pixelshaded commented 12 years ago

The URIs for handling authorizations and tokens are hard coded in to the middleware. Perhaps make it possible to pass in those routes when creating the provider. I was a little confused on how these events were going to get emitted without looking at the source. The example.js doesn't clarify which routes are intercepted by the middleware either.