71e375d6eabbdf9c188d8740eb1ab6894a196fb3
Replaced the WASM client-side authentication service with a new SSR (Server-Side Rendering) authentication service to resolve issues in SSR mode caused by self-referencing HTTP requests and the lack of `HttpContext`. Added `IEnvelopeAuthService` interface and its implementation `EnvelopeAuthService`, which directly accesses `HttpContext.User` to validate user authentication and claims. Registered the service in the DI container with a scoped lifetime. Updated `EnvelopeReceiverPage.razor` to use the new SSR service for authentication checks and logout logic. Changes to the page were reverted due to a merge conflict, with a detailed plan provided for re-application. Improved logging for debugging authentication issues and outlined a migration checklist, including testing, unit tests, and documentation updates. These changes improve performance, ensure SSR compatibility, and eliminate unnecessary HTTP requests.
Description
No description provided
Languages
JavaScript
86%
C#
6.9%
HTML
2.8%
Visual Basic .NET
2.7%
CSS
1.2%
Other
0.4%