adc231f10ebab8511b7ae90e85e1e2466b07ec27
JwtBearer middleware does not run for WebSocket upgrade requests, so HttpContext.User is anonymous inside Blazor Server components. Fall back to manual cookie parsing + token validation (same pattern used by EnvelopeReceiverAuthorizationService). Cache the resulting principal on HttpContext.User for subsequent calls within the same circuit. Also inject IOptionsMonitor<JwtBearerOptions> and IOptions<AuthTokenKeys> to support the validation path.
Description
No description provided
Languages
JavaScript
84.1%
C#
7.6%
HTML
3.6%
Visual Basic .NET
2.7%
CSS
1.5%
Other
0.4%