News for hackers. Stuff that matters.
Re:Nginx 1.6.0 stable released by bithive123 on Thursday April 24, 2014 @01:34PM (#7641681)
There are plenty of upsides to decoupling authentication from your app codebases. For instance, in an enterprise where you have a single sign-on solution implemented as a web server module and a mix of third party and bespoke web apps.
Re:Nginx 1.6.0 stable released by pas on Thursday April 24, 2014 @09:38PM (#7644246)
I think no one argues that decoupling isn't the way, in fact that's exactly what others are saying too, but in the proper way. Make an authentication (micro)service and call it from your webapp. Proxy should proxy, auth service should manage (and cache, keep up to date) credentials, role associations and group memberships, web app should serve web pages (based on the business logic coded into it).