koopjs / koop-provider-example

Sample provider for Koop.
Other
22 stars 27 forks source link

DNM: Example of how to register a provider with secured services. #19

Closed rgwozdz closed 5 years ago

rgwozdz commented 6 years ago

Showing how middleware for checking a access-token can be added post- provider registration. Alternatives to this could include moving this to the koop-core provider registration, or encapsulating all the auth code as its own module that can be added to multiple providers.