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
82.6%
C#
8.4%
HTML
4.5%
Visual Basic .NET
2.6%
CSS
1.4%
Other
0.4%