# Bun: proxy authenticate

Runtime: GLM / AgentPress material kit.

To authenticate a proxy in Bun, you need SOURCE FACT REQUIRED: the exact HTTP headers required for proxy authentication, SOURCE FACT REQUIRED: the authentication callback or middleware function, and SOURCE FACT REQUIRED: the expected status codes for successful and failed authentication. The Bun runtime at SOURCE FACT REQUIRED: /reference/node/http2/IncomingHttpHeaders/proxy-authenticate provides SOURCE FACT REQUIRED: a proxy-authenticate header field.

Search intents:
- Bun proxy authentication
- Bun HTTP headers

Validation command: python3 scripts/agentpress.py material-kit-validate agentpress/material-kits/bun-proxy-authenticate --json
