ec0ea72890456c1afd5355a9ab2c1e93f3173bd3
Migrated the `EnvelopeReceiverPage.razor` component from using a WASM client-side authentication service to a server-side rendering (SSR) authentication service. This resolves issues caused by self-referencing HTTP requests in SSR contexts. - Added `IEnvelopeAuthService` interface and `EnvelopeAuthService` implementation to validate user authentication and envelope key claims directly via `HttpContext.User`. - Registered `EnvelopeAuthService` in DI container with a scoped lifetime. - Updated `EnvelopeReceiverPage.razor` to use `IEnvelopeAuthService` for authentication checks and `IHttpClientFactory` for logout functionality (changes reverted due to merge conflict). - Improved authentication flow by eliminating HTTP overhead and ensuring compatibility with SSR. - Remaining tasks include re-applying page changes, testing, and updating documentation. This migration ensures a cleaner, more reliable authentication mechanism for SSR pages.
Description
No description provided
Languages
JavaScript
86%
C#
6.9%
HTML
2.8%
Visual Basic .NET
2.7%
CSS
1.2%
Other
0.4%