Skip to content
Permalink

Comparing changes

This is a direct comparison between two commits made in this repository or its related repositories. View the default comparison for this range or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: jaegertracing/jaeger
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: ed35e2e6defd8502d73bab6d39091c3e7816770a
Choose a base ref
..
head repository: jaegertracing/jaeger
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: 38528893e981c2e12bfb70459cd37dabe872f8c1
Choose a head ref
Showing with 1 addition and 1 deletion.
  1. +1 −1 cmd/query/app/token_propagation_handler.go
2 changes: 1 addition & 1 deletion cmd/query/app/token_propagation_handler.go
Original file line number Diff line number Diff line change
@@ -27,7 +27,7 @@ func bearerTokenPropagationHandler(logger *zap.Logger, h http.Handler) http.Hand
return http.HandlerFunc(func(w http.ResponseWriter, r *http.Request) {
ctx := r.Context()
authHeaderValue := r.Header.Get("Authorization")
// If no Authorization headerValue is present, try with X-Forwarded-Access-Token
// If no Authorization header is present, try with X-Forwarded-Access-Token
if authHeaderValue == "" {
authHeaderValue = r.Header.Get("X-Forwarded-Access-Token")
}