Re:Show HN: API Happiness is not a 'nice-to-have'
by _mikz on Wednesday April 02, 2014 @01:26PM
(#7517227)
You can write Lua middleware to do the Auth if you want.
The traffic monitor website is protected by us, but the actual proxy is not authenticated as it could interfere with API you are using.
[ Parent
| on HN ]
Re:Show HN: API Happiness is not a 'nice-to-have'
by jrochkind1 on Wednesday April 02, 2014 @01:44PM
(#7517434)
Huh, so using this service will turn any authenticated API into an open api, usable by anyone that knows the URL?
That seems... unsuitable for most non-public apis.
Re:Show HN: API Happiness is not a 'nice-to-have'
by _mikz on Wednesday April 02, 2014 @02:03PM
(#7517616)
It is a proxy, so if you don't explicitly add keys with a middleware the API will still need the auth.
But you can do key mapping: if you pass your key it will transform it to the real one and if not, then it will just return 403.