-
Notifications
You must be signed in to change notification settings - Fork 0
/
kong.yml
60 lines (60 loc) · 1.55 KB
/
kong.yml
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
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
_format_version: "1.1"
services:
- connect_timeout: 10000
host: echoserver
name: echoserver
port: 80
protocol: http
read_timeout: 5000
retries: 2
write_timeout: 5000
routes:
- hosts:
- echoserver:80
# id: 9c5c298c-1452-4c65-8d65-dcb1a4b4ea68
# path_handling: v0
# preserve_host: false
protocols:
- http
- https
# regex_priority: 0
# strip_path: true
# https_redirect_status_code: 426
plugins:
- name: oidc
config:
#access_token_header_as_bearer: "no"
access_token_header_name: X-Access-Token
bearer_only: "yes"
client_id: someconsumer
client_secret: somesecret
disable_access_token_header: "no"
disable_id_token_header: "no"
disable_userinfo_header: "no"
discovery: http://hydra-service:9000/.well-known/openid-configuration
filters: null
groups_claim: groups
id_token_header_name: X-ID-Token
ignore_auth_filters: ""
introspection_endpoint: http://hydra-service:9001/oauth2/introspect
introspection_endpoint_auth_method: null
logout_path: /logout
realm: kong
recovery_page_path: null
redirect_after_logout_uri: /
redirect_uri: http://example.com
response_type: token
revoke_tokens_on_logout: "no"
scope: openid
session_secret: null
ssl_verify: "no"
timeout: null
token_endpoint_auth_method: client_secret_post
unauth_action: auth
userinfo_header_name: X-USERINFO
enabled: true
protocols:
# - grpc
# - grpcs
- http
- https