Re:Yak Shaving: Adding OAuth Support to Nginx via Lua
by justincormack on Monday December 03, 2012 @01:53PM
(#4867107)
I would use openresty rather than building your own nginx Lua bundle. It has test frameworks and releases and so on. And you could ship an oauth2 module with it.
Re:Yak Shaving: Adding OAuth Support to Nginx via Lua
by josegonzalez on Monday December 03, 2012 @01:55PM
(#4867119)
I simply enabled the nginx-lua - which comes with the debian source - in our custom package. Adding the other stuff would have been nice, but also unnecessary bloat.
I did do some investigation into openresty, but decided against it because it would not confer benefits.
The other thing is that we custom compile other modules into nginx - tracelytics[1] being one of them - and it was simpler to decipher the debian packaging than it was to do the same for openresty.
Re:Yak Shaving: Adding OAuth Support to Nginx via Lua
by josegonzalez on Monday December 03, 2012 @01:53PM
(#4867103)
There is an OAuth1 module[1] that is available, but not only is that not the version of OAuth we built in our provider, but liboauth conflicts with certain packages our servers need installed.
If there were an OS option, I would have used it :)
I did do some investigation into openresty, but decided against it because it would not confer benefits.
The other thing is that we custom compile other modules into nginx - tracelytics[1] being one of them - and it was simpler to decipher the debian packaging than it was to do the same for openresty.
[1] http://www.tracelytics.com/
If there were an OS option, I would have used it :)
[1] https://github.com/yaoweibin/nginx_http_oauth_module