I created a Microsoft Teams app using Razor components and have configured the following it, but still receive an antiforgery token error.In Program.cs
app.UseAuthentication();app.UseAuthorization();app.UseAntiforgery();app.MapRazorComponents<App>() .AddInteractiveServerRenderMode();
I have also added the tag <AntiforgeryToken/>
to my .razor page.