An IP based authentication passport strategy.
This repository was forked from https://github.com/eugeniop/passport-ip and modified slightly.
Installation
npm i passport-ip --save
Usage
Register the strategy in passport as follows:
var passport = ;var IpStrategy = Strategy; passport;
Configuration behind a proxy
If you are running your express application behind a proxy that you trust:
app;
Then passport-ip will use the X-Forwarded-For header.
License
MIT 2016 Anthony Liatsis