Skip to content

asedge/auth-proxy

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

auth-proxy

Build Status

This proxy allows unauthenticated access to a web resource that normally requires basic authentication by setting the basic auth header using the USERNAME/PASSWORD provided.

Usage:

USERNAME=sean PASSWORD=secret ./auth-proxy

The proxy listens on port 8989 so to use it you can just set the http_proxy environment variable.

export http_proxy=http://localhost:8989
curl http://site.to.proxy/

Build & Run Docker image:

docker build -t auth-proxy .
docker run -d --name auth_proxy -p 8989:8989 -e USERNAME=<basic_auth_username> -e PASSWORD=<basic_auth_password> auth-proxy

About

Go based authentication proxy server.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages