Security News
Fluent Assertions Faces Backlash After Abandoning Open Source Licensing
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
bearer-proxy
Advanced tools
A simple HTTP proxy server that adds an Authorization header to outgoing requests.
Bearer Proxy is a simple HTTP proxy server that adds an Authorization header to outgoing requests. This can be useful for testing or development environments where you need to forward requests with an authentication token.
To install Bearer Proxy from the NPM repository, run the following command:
npm install -g bearer-proxy
To start the proxy server, use the following command:
bearer-proxy --token <YOUR_AUTH_TOKEN> --target <TARGET_URL> [--port <LISTEN_PORT>]
--token, -t
: (Required) The authentication token to be added to the Authorization
header.--target, -u
: (Required) The target URL to which the requests should be forwarded.--port, -p
: (Optional) The port on which the proxy server will listen. Default is 8000
.bearer-proxy --token mysecrettoken --target http://example.com --port 8080
This command will start the proxy server on port 8080
and forward all requests to http://example.com
with the Authorization: Bearer mysecrettoken
header.
TOKEN=$(oc whoami -t)
TARGET=https://forklift-inventory-openshift-mtv.apps-crc.testing
bearer-proxy --token "$TOKEN" --target "$TARGET" --port 8080
INVENTORY_SERVER_HOST=http://127.0.0.1:8080
This example will add an Openshit bearer token to the forklift inventory service.
This project is licensed under the GPL-3.0 License.
FAQs
A simple HTTP proxy server that adds an Authorization header to outgoing requests.
The npm package bearer-proxy receives a total of 1 weekly downloads. As such, bearer-proxy popularity was classified as not popular.
We found that bearer-proxy demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 0 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Fluent Assertions is facing backlash after dropping the Apache license for a commercial model, leaving users blindsided and questioning contributor rights.
Research
Security News
Socket researchers uncover the risks of a malicious Python package targeting Discord developers.
Security News
The UK is proposing a bold ban on ransomware payments by public entities to disrupt cybercrime, protect critical services, and lead global cybersecurity efforts.