diff --git a/src/Components/WebAssembly/WebAssembly.Authentication/src/Models/RemoteAuthenticationContext.cs b/src/Components/WebAssembly/WebAssembly.Authentication/src/Models/RemoteAuthenticationContext.cs index 7cee47cf2000..be24665731dc 100644 --- a/src/Components/WebAssembly/WebAssembly.Authentication/src/Models/RemoteAuthenticationContext.cs +++ b/src/Components/WebAssembly/WebAssembly.Authentication/src/Models/RemoteAuthenticationContext.cs @@ -10,6 +10,7 @@ namespace Microsoft.AspNetCore.Components.WebAssembly.Authentication; /// Represents the context during authentication operations. /// </summary> /// <typeparam name="TRemoteAuthenticationState"></typeparam> +[DynamicallyAccessedMembers(JsonSerialized)] public class RemoteAuthenticationContext<[DynamicallyAccessedMembers(JsonSerialized)] TRemoteAuthenticationState> where TRemoteAuthenticationState : RemoteAuthenticationState { /// <summary>