From 6e3cc77ec4a8d821dd747b8f85ec550f2865b13e Mon Sep 17 00:00:00 2001 From: Benjamin Foote Date: Fri, 10 Jul 2020 12:12:48 -0700 Subject: [PATCH] #290 provide example config --- config/config.yml_example_azure | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 config/config.yml_example_azure diff --git a/config/config.yml_example_azure b/config/config.yml_example_azure new file mode 100644 index 00000000..ebab962a --- /dev/null +++ b/config/config.yml_example_azure @@ -0,0 +1,25 @@ +# vouch config +# bare minimum to get vouch running with Azure AD +# https://github.com/vouch/vouch-proxy/issues/290 + +vouch: + # set allowAllUsers: true to use Vouch Proxy to just accept anyone who can authenticate to Azure AD + allowAllUsers: true + + cookie: + # allow the jwt/cookie to be set into http://yourdomain.com (defaults to true, requiring https://yourdomain.com) + # secure: false + # vouch.cookie.domain must be set when enabling allowAllUsers + # domain: yourdomain.com + +oauth: + provider: azure + client_id: 123456789 + client_secret: ******** + auth_url: https://login.microsoftonline.com/.../oauth2/v2.0/authorize + token_url: https://login.microsoftonline.com/.../oauth2/v2.0/token + scopes: + - openid + - email + - profile + callback_url: https://vouch.yourdomain/auth \ No newline at end of file