No description, website, or topics provided.
Clone or download
Pull request Compare This branch is 8 commits ahead, 2 commits behind Anrop:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
.gitignore
.travis.yml
Dockerfile
README.md
app.js
config.js.example
docker-compose.yml
package.json
validate.js

README.md

Anrop Auth Proxy

Validates Anrop user before accessing other HTTP service

Requirements

Code is written in Node.js.

How To Use

Install dependences with npm install.

Copy config.js.example to config.js and set desired parameters

Start the API with npm start. Server will be available at port chosen in config file.

Windows Service

Install as a Windows Service with npm run install-windows-service.

Remove previously installed Windows Service with npm run uninstall-windows-service.

Config Values

The following values should be specified in the config.js.

Variable Required Description
cookie Yes Cookie to get from requests
group Yes Required User Group at Anrop to allow access
port Yes Port that should be used by Auth Proxy HTTP Server
target Yes HTTP url to forward requests to
whitelist no Array of whitelisted endpoints. Each item MUST have a path and an optional method property

Groups

Some groups which could be relevant

Group Id Description
4 SFP Developers
5 SFP Testers
7 Operations Makers