File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 44config /config.yml
55config /* config.yml
66config /config.yml_ *
7+ ! config /config.yml_example_pocket-id
78config /google_config.json
89config /secret
910! config /testing /*
Original file line number Diff line number Diff line change @@ -30,6 +30,7 @@ Vouch Proxy supports many OAuth and OIDC login providers and can enforce authent
3030- [ OpenStax] ( https://github.com/vouch/vouch-proxy/pull/141 )
3131- [ Ory Hydra] ( https://github.com/vouch/vouch-proxy/issues/288 )
3232- [ Nextcloud] ( https://docs.nextcloud.com/server/latest/admin_manual/configuration_server/oauth2.html )
33+ - [ Pocket ID] ( https://github.com/vouch/vouch-proxy/blob/master/config/config.yml_example_pocket-id )
3334- most other OpenID Connect (OIDC) providers
3435
3536Please do let us know when you have deployed Vouch Proxy with your preffered IdP or library so we can update the list.
Original file line number Diff line number Diff line change 1+
2+ # Vouch Proxy configuration
3+ # bare minimum to get Vouch Proxy running with pocket-id
4+
5+ # Pocket ID
6+ # https://pocket-id.org
7+ # https://github.com/pocket-id/pocket-id
8+
9+ vouch:
10+ # domains:
11+ # valid domains that the jwt cookies can be set into
12+ # the callback_urls will be to these domains
13+ domains:
14+ - yourdomain.com
15+ - yourotherdomain.com
16+
17+ # - OR -
18+ # instead of setting specific domains you may prefer to allow all users...
19+ # set allowAllUsers: true to use Vouch Proxy to just accept anyone who can authenticate at the configured provider
20+ # and set vouch.cookie.domain to the domain you wish to protect
21+ # allowAllUsers: true
22+
23+ cookie:
24+ # allow the jwt/cookie to be set into http://yourdomain.com (defaults to true, requiring https://yourdomain.com)
25+ secure: false
26+ # vouch.cookie.domain must be set when enabling allowAllUsers
27+ # domain: yourdomain.com
28+
29+ oauth:
30+ # pocket-id
31+ provider: oidc
32+ client_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
33+ client_secret: xxxxxxxxxxxxxxxxxxxxxxxx
34+ auth_url: https://{yourPocketIdDomain}/authorize
35+ token_url: https://{yourPocketIdDomain}/api/oidc/token
36+ user_info_url: https://{yourPocketIdDomain}/api/oidc/userinfo
37+ scopes:
38+ - openid
39+ - email
40+ - profile
41+ callback_url: http://vouch.{yourdomain.com}/auth
You can’t perform that action at this time.
0 commit comments