most likely the cookie header is too large (too many claims). either the header setting are different for your dev instance, or you use a different user login.
Authentication using azure Entra ID in .NET 8 Blazor web app deployed on IIS Server
Hello
I have created a Blazor Web Application in .NET 8 Where I have get a Server and a Client Project
In this I Want to apply Azure Entra ID (OIDC) authentication.
I have done app Registration on Azure portal and have Client ID, Tenant ID, Secret etc.
for this I have replicated the https://github.com/dotnet/blazor-samples code and done some of my required modifications but not in the main code flow.
when I run the project through visual studio on https profile it worked fine, and I am able to authenticate but when I deployed it IIS Server and run the application it throws error like sometimes
Too much large Header 400
or
It says to change ASP Net Environment to Development, I have done this but did not work.
Above error only shows when application run on IIS
any help would be appreciated
Thanks