A Proxy Server with custom authorizers. This is mainly developed for providing authentication for Tensorboard to avoid leaking secret data.
- Basic Auth
- Email and Password
- JWT
- Other Custom Authorizers
git clone https://github.com/noppoMan/webpage-authenticator.git
cd webpage-authenticator
npm i
- WA_PROXY_URL: A url for proxy target
- PORT: Listening port of proxy server
WA_PROXY_URL=http://proxy-target.com:8080 ts-node webpage-authenticator/src/proxy.ts
First of all, You should generate .htpassword file under the root directory. The password should be crypted with bcrypt. Also You can use htpassword.ts to generate htpassword formatted string.