I need the NodeJS hosted pages to read an authentication cookie already set by another area on the same domain.
I need to pass that auth cookie via an HTTP request to another server that can return whether it's authenticated or not. This HTTP server will return an auth response in under 5 ms telling you that you're authenticated, or you're not. If you're not authenticated, it needs to redirect you to http://domain/login.
I'd prefer this be built as a Passport Strategy.
Please only apply if you've worked with Node.js and Passport Strategies before.