imrefazekas / connect-rest

Exceptionally featureful Restful web services middleware for connect node.js
MIT License
100 stars 29 forks source link

Allow discover without api key? #36

Closed jwvanderbeck closed 8 years ago

jwvanderbeck commented 8 years ago

How can I set up the automated discover endpoint so that it doesn't require an API key?

imrefazekas commented 8 years ago

Missing feature, sorry for that. Added to release 2.8.0 :)

If you add this object to the configuration of connect-rest:

discover: { path: '/discover', secure: false }

That will nullify the security check for discovery.

Please check test folder for further details...