An auth-proxy application can run behind auth validate
146
docker run -e AUTH_TYPE=oauth \
-e PROXY_URL="https://vinkdong.com" \
-e BASE_URL=http://192.168.99.100:9081 \
-e OAUTH_AUTH_URL=https://login.vinkdong.com/oauth/oauth/authorize \
-e OAUTH_TOKEN_URL=https://login.vinkdong.com/oauth/oauth/token \
-e OAUTH_CHECK_URL=https://login.vinkdong.com/iam/v1/users/self \
-e OAUTH_CLIENT_ID=authproxy \
-e OAUTH_CLIENT_SECRET=choerodon -p 9081:9081 \
hand/auth-proxy
AUTH_TYPE: auth type you can choice cas,basic and oauth
PROXY_URL: request url you want to reverse-proxy
BASE_URL: user enter url, do not end with /
Content type
Image
Digest
Size
4.8 MB
Last updated
over 8 years ago
docker pull hand/auth-proxy