FHIDev / fhi.helseid

Fhi.HelseId component for accessing NHN HelseId
MIT License
6 stars 5 forks source link

Custom correlation id handler #377

Closed martsve closed 2 months ago

martsve commented 2 months ago

Blazor does not propagate HttpContext-headers when creating the httpClient. We need to get it from a IUserState

builder.AddHelseIdForBlazor()
    .AddCorrelationId(p => p.GetRequiredService<UserState>().CorrelationId)
sonarcloud[bot] commented 2 months ago

Quality Gate Passed Quality Gate passed

Issues
0 New issues
0 Accepted issues

Measures
0 Security Hotspots
No data about Coverage
No data about Duplication

See analysis details on SonarCloud