Skip to content

Latest commit

 

History

History
29 lines (19 loc) · 588 Bytes

README.md

File metadata and controls

29 lines (19 loc) · 588 Bytes

auth-proxy

This application will run between the bee instance and the outer world providing authentication and authorization capabilities.

To start:

go run . --internal-port 1643 --external-port 1645 --ingress-url 'http://localhost:1633'

To access an internal endpoint (whitelisted):

curl -vv localhost:1643/pins

you should get a similar response:

{
   "references" : []
}

To access an external endpoint (blacklisted):

curl -vv localhost:1645/node

The response code should be 404 since node endpoint is blocklisted on the external route.