Skip to content

Commit

Permalink
Log authentication token value in filter
Browse files Browse the repository at this point in the history
Added logging to output the TokenX authentication token value in the request filter. This will assist in debugging and tracking token-related issues.
  • Loading branch information
krharum committed Oct 8, 2024
1 parent 05e3c2e commit 09535ca
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ public static GatewayFilter bearerIdportenHeaderFilter(FakedingsConsumer fakedin
exchange.mutate()
.request(builder -> builder.header(HttpHeaders.AUTHORIZATION,
"Bearer " + tokenX.getTokenValue()).build());
log.info("TokenX {}", tokenX.getTokenValue());
return chain.filter(exchange);
}));
};
Expand Down

0 comments on commit 09535ca

Please sign in to comment.