I have an ASP.NET Core Web API with Swagger integrated using Swashbuckle. I have successfully integrated authorization on Swagger UI using an operation filter, because I do not want to show padlock for anonymous APIs.

```
.OperationFilter<AuthorizeFilter>()

```

Inside the filter, I have registered basic auth security requirement for Swagger UI.

My problem is, even though authentication is happening in APIs on Swagger UI, I no longer see that nice authentication popup which is giving when click on the padlock icon.

Could someone answer, why I am not seeing the auth popup now?