Skip to content

Commit

Permalink
#290 provide example config
Browse files Browse the repository at this point in the history
  • Loading branch information
bnfinet committed Jul 10, 2020
1 parent 67cce8a commit 6e3cc77
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions config/config.yml_example_azure
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 6e3cc77

Please sign in to comment.