Open bufferoverflow opened 8 years ago
Sure, having authenticated docs is cool.
But there are several things that may need a bit more thinking.
passport-gitlab2
gives node server power to use oauth2. But actually, static sites are directly backed by NGINX. NGINX Plus seems to support oauth2 (JWT Authentication) but it's not free.How about just using a fixed user:pass pair to protect the doc and share it with your group? Is this acceptable? Any pitfall?
http://nginx.org/en/docs/http/ngx_http_auth_basic_module.html
Integrating passport-gitlab2 and using GitLab as Authentication provider would allow to build authenticated docs access.