
Product
Socket for Jira Is Now Available
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.
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.
We found that bearer-proxy demonstrated a not healthy version release cadence and project activity because the last version was released 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.

Product
Socket for Jira lets teams turn alerts into Jira tickets with manual creation, automated ticketing rules, and two-way sync.

Company News
Socket won two 2026 Reppy Awards from RepVue, ranking in the top 5% of all sales orgs. AE Alexandra Lister shares what it's like to grow a sales career here.

Security News
NIST will stop enriching most CVEs under a new risk-based model, narrowing the NVD's scope as vulnerability submissions continue to surge.