File tree Expand file tree Collapse file tree 2 files changed +19
-2
lines changed
microservices/gatewayApi/patterns/sdx Expand file tree Collapse file tree 2 files changed +19
-2
lines changed Original file line number Diff line number Diff line change 40
40
- ${route_host}
41
41
paths:
42
42
- ${route_path}
43
- headers:
44
- "X-Client-Id": [ ${consumer_uri} ]
45
43
methods:
46
44
- GET
47
45
- POST
111
109
key_id: aps-kong-gateway
112
110
issuer: https://aps-jwks-upstream-jwt-api-gov-bc-ca-lab.dev.api.gov.bc.ca
113
111
112
+ - name: request-transformer
113
+ tags: [ns.${gateway}.${ns_qualifier}]
114
+ enabled: true
115
+ config:
116
+ add:
117
+ headers:
118
+ - "X-Client-Id:${consumer_uri}"
119
+
114
120
# - name: oidc
115
121
# tags: [ns.gw-0a524]
116
122
# enabled: true
Original file line number Diff line number Diff line change 64
64
disable_userinfo_header: "yes"
65
65
disable_id_token_header: "yes"
66
66
67
+ - name: response-signer
68
+ tags: [ns.${gateway}.${ns_qualifier}]
69
+ enabled: true
70
+ config:
71
+ public_key_location: /etc/secrets/kong-upstream-jwt/tls.crt
72
+ private_key_location: /etc/secrets/kong-upstream-jwt/tls.key
73
+ key_id: "aps-kong-gateway"
74
+ issuer: "https://aps-jwks-upstream-jwt-api-gov-bc-ca-lab.dev.api.gov.bc.ca"
75
+
67
76
routes:
68
77
- name: ${service_name}
69
78
tags: [ns.${gateway}.${ns_qualifier}, sdx]
70
79
hosts:
71
80
- ${route_host}
72
81
paths:
73
82
- ${route_path}
83
+ headers:
84
+ "X-Client-Id": [ ${consumer_uri} ]
74
85
methods:
75
86
- GET
76
87
- POST
You can’t perform that action at this time.
0 commit comments