-
Notifications
You must be signed in to change notification settings - Fork 329
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
25 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 | ||
- profile | ||
callback_url: https://vouch.yourdomain/auth |