Skip to content

Commit 3c3c48b

Browse files
committed
add inbound token to service pattern
1 parent 5f4392b commit 3c3c48b

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

microservices/gatewayApi/patterns/sdx/service_r1.py

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -209,6 +209,7 @@
209209
end
210210
211211
kong.service.request.set_header("X-INTROSPECTION", res.body)
212+
kong.service.request.set_header("X-INBOUND-TOKEN", kong.request.get_header("Authorization"))
212213
213214
res.body = cjson.decode(res.body)
214215
if not res.body then

0 commit comments

Comments
 (0)