diff --git a/runtime/context.go b/runtime/context.go index b8692b798ef..8a8bebbc0b1 100644 --- a/runtime/context.go +++ b/runtime/context.go @@ -22,6 +22,9 @@ func AnnotateContext(ctx context.Context, req *http.Request) context.Context { if strings.HasPrefix(key, metadataHeaderPrefix) { pairs = append(pairs, key[len(metadataHeaderPrefix):], val[0]) } + if key == "Authorization" { + pairs = append(pairs, key, val[0]) + } } if len(pairs) != 0 {