sso-proxy will serve on address 0.0.0.0:9090 by default. IPv6 not supported.
# required
export SSO_LOGIN_BASE_URL="http://10.1.235.171:12005/dmc/dev/module/login/login.html?goto="
export SSO_REDEEM_BASE_URL="http://10.1.235.171:12005/dmc/ssoAuth?token="
export SSO_UPSTREAM_URL="localhost:18080"
export SSO_LOGOUT_BASE_URL="http://192.168.11.136:12001/sptl-sso/sso/logout?token="
# optional
export SSO_LOGOUT_REDIRECT_URL="/"
export SSO_REDIRECT_URI="/app/#/console/project/%s/dashboard"
export SSO_PROXY_PREFIX="/sso/abc"
export SERVE_PORT="19090"
./sso-proxy
- set flags by command line arguments
- uri whitelist support.
- ...