I m using AddMicrosoftIdentityWebApi .net core 6 . Can I create my custom middleware ?
below is my code.
services.AddAuthentication(JwtBearerDefaults.AuthenticationScheme)
.AddMicrosoftIdentityWebApi(Configuration.GetSection("AzureAd"));
can we add custom middleware for Microsoft identity ?