Skip to content

A Proxy Server with custom authorizers. This is mainly developed for providing authentication for Tensorboard to avoid leaking secret data.

Notifications You must be signed in to change notification settings

noppoMan/webpage-authenticator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

webpage-authenticator

A Proxy Server with custom authorizers. This is mainly developed for providing authentication for Tensorboard to avoid leaking secret data.

Supported Authorization methods

  • Basic Auth
  • Email and Password
  • JWT
  • Other Custom Authorizers

Usage

Installation

git clone https://github.com/noppoMan/webpage-authenticator.git
cd webpage-authenticator
npm i

Serving

Environment Variables

  • 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

Serving with Basic Authentication

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.

About

A Proxy Server with custom authorizers. This is mainly developed for providing authentication for Tensorboard to avoid leaking secret data.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages