Skip to content

Commit

Permalink
Updated adfs examples
Browse files Browse the repository at this point in the history
  • Loading branch information
Herbrant committed Jun 25, 2021
1 parent f78e125 commit cf960f9
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 1 deletion.
16 changes: 16 additions & 0 deletions config/config.yml_example
Expand Up @@ -198,6 +198,7 @@ vouch:
# callback_urls: OAUTH_CALLBACK_URLS
# scopes: OAUTH_SCOPES
# code_challenge_method: OAUTH_CODE_CHALLENGE_METHOD
# relying_party_id OAUTH_RELYING_PARTY_ID

#
# configure ONLY ONE of the following oauth providers
Expand Down Expand Up @@ -260,4 +261,19 @@ oauth:
auth_url: https://indielogin.com/auth
callback_url: http://vouch.yourdomain.com:9090/auth

# adfs
provider: adfs
client_id:
client_secret:
auth_url: https://adfs.yourdomain.com/adfs/oauth2/authorize/
token_url: https://adfs.yourdomain.com/adfs/oauth2/token/
# vouch-proxy use RedirectURL as relying party identifier by default, if you want a custom one:
# (resolves issue https://github.com/vouch/vouch-proxy/issues/189)
# relying_party_id: 487d8ff7-80a8-4f62-b926-c2852ab06e94
scopes:
- openid
- email
- profile
callback_url: https://vouch.yourdomain.com/auth


4 changes: 3 additions & 1 deletion config/config.yml_example_adfs
Expand Up @@ -18,7 +18,9 @@ oauth:
client_secret: sauceSecret
auth_url: https://adfs.yourdomain.com/adfs/oauth2/authorize/
token_url: https://adfs.yourdomain.com/adfs/oauth2/token/
# relying_party_id: 487d8ff7-80a8-4f62-b926-c2852ab06e94 # (optional)
# vouch-proxy use RedirectURL as relying party identifier by default, if you want a custom one:
# (resolves issue https://github.com/vouch/vouch-proxy/issues/189)
# relying_party_id: 487d8ff7-80a8-4f62-b926-c2852ab06e94
scopes:
- openid
- email
Expand Down

0 comments on commit cf960f9

Please sign in to comment.