Doorman is an http proxy that authenticates via OAuth.
Your organization probably has some internal services that need to be password-protected. You likely also already manage users using an external service. (Github, Google Apps, etc) Wouldn't it be nice if you could delegate your internal app's authentication/authorization to that app?
npm install
npm start
Doorman uses everyauth for authenticating,
so it supports a wide variety of providers for authentication. For authorization,
we need to determine which authenticated users to let in. (see lib/modules
) So
far only the Github and Google modules are complete, but others are fairly easy.
Doorman is pretty much just everyauth (https://github.com/bnoguchi/everyauth) and node-http-proxy (https://github.com/nodejitsu/node-http-proxy) grafted together, and those two projects do most of the heavy lifting.
requiredEmail
option for github and google modulesrequiredDomain
and requiredOrganization
options can be arraysLicensed under the MIT License. See LICENSE.