-
Notifications
You must be signed in to change notification settings - Fork 332
Expand file tree
/
Copy pathconfig.yml_example_keycloak
More file actions
39 lines (34 loc) · 1.58 KB
/
config.yml_example_keycloak
File metadata and controls
39 lines (34 loc) · 1.58 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
# Vouch Proxy configuration
# bare minimum to get Vouch Proxy running with Keycloak
vouch:
domains:
- yourdomain.com
# - OR -
# instead of setting specific domains you may prefer to allow all users...
# set allowAllUsers: true to use Vouch Proxy to just accept anyone who can authenticate at the configured provider
# and set vouch.cookie.domain to the domain you wish to protect
# 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:
# Generic OpenID Connect
# for Keycloak
provider: oidc
client_id: xxxxxxxxxxxxxxxxxxxxxxxxxxxx
client_secret: xxxxxxxxxxxxxxxxxxxxxxxx
auth_url: https://{yourKeycloakDomain}/realms/{yourKeycloakRealm}/protocol/openid-connect/auth
token_url: https://{yourKeycloakDomain}/realms/{yourKeycloakRealm}/protocol/openid-connect/token
user_info_url: https://{yourKeycloakDomain}/realms/{yourKeycloakRealm}/protocol/openid-connect/userinfo
scopes:
- openid
- email
- profile
callback_url: http://vouch.yourdomain.com:9090/auth
# you can get values of of auth_url, token_url and user_info_url from https://{yourKeycloakDomain}/realms/{yourKeycloakRealm}/.well-known/openid-configuration
# When configuring client in Keycloak, you should use following values
## valid redirect: http://vouch.yourdomain.com:9090/auth
## valid logout: http://vouch.yourdomain.com:9090/logout
## web origin: http://vouch.yourdomain.com:9090