Skip to content

Instantly share code, notes, and snippets.

@Gourds
Last active October 18, 2021 18:22
Show Gist options
  • Save Gourds/354df4f711d1f394c925a3ddaf8e7754 to your computer and use it in GitHub Desktop.
Save Gourds/354df4f711d1f394c925a3ddaf8e7754 to your computer and use it in GitHub Desktop.
vouch-proxy_config
vouch:
logLevel: debug
testing: true
listen: 0.0.0.0 # VOUCH_LISTEN
port: 9090 # VOUCH_PORT
cookie:
name: VouchCookie
domain: taiheops.com
secure: false
sameSite: lax
maxAge: 14400
allowAllUsers: true
headers:
jwt: X-Vouch-Token # VOUCH_HEADERS_JWT
querystring: access_token # VOUCH_HEADERS_QUERYSTRING
redirect: X-Vouch-Requested-URI # VOUCH_HEADERS_REDIRECT
oauth:
provider: oidc
client_id: xxxxx
client_secret: xxxxx
preferredDomain: taiheops.com
auth_url: https://ynfyvjwiaw.login.aliyunidaas.com/oauth/authorize
token_url: https://ynfyvjwiaw.login.aliyunidaas.com/oauth/token
user_info_url: https://ynfyvjwiaw.login.aliyunidaas.com/api/bff/v1.2/oauth2/userinfo
#user_info_url: https://ynfyvjwiaw.login.aliyunidaas.com/api/bff/v1.2/commons/user_details
scopes:
- read
#- email
callback_urls:
#- http://test_sso_nginx_a.taiheops.com:2081/auth
- http://vouch.taiheops.com:2081/auth
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment