dotnet add package Soenneker.ApplicationInsights.Correlator.Jwt
public void ConfigureServices(IServiceCollection services)
{
services.AddJwtTelemetryCorrelatorAsSingleton();
}
That's it!
If requests are made with the request headerAuthorization
, and have the scheme bearer <token>
, Jwt
will be visible on the individual requests in Application Insights.