I have implemented a Blazor Server App project that uses Azure B2C for authentication and authorization.
The problem is that when I navigate to the app from Google chrome and then navigate to the previous page the browser, Google chrome behaves different than Firefox. Firefox navigates back without errors but Google chrome redirects me to this page
I also checked my application logs and I found the below unhandled exception
warn: Microsoft.AspNetCore.Authentication.OpenIdConnect.OpenIdConnectHandler[15] '.AspNetCore.Correlation.k3N-jORFKYdELX1dInIv2C_hsBx7-R0tox2Ctj9zUtc' cookie not found.
My Azure B2C configuration on Program.cs is
builder.Services.AddMicrosoftIdentityWebAppAuthentication(builder.Configuration, "AzureAdB2C")
.EnableTokenAcquisitionToCallDownstreamApi(new string[] { builder.Configuration["TodoList:TodoListScope"] })
.AddDistributedTokenCaches();
How can I handle this error ?
Thanks in advance.