TheMadStrater
4 years agoOccasional Visitor
Beat practices for authenticating user prior to rendering the swagger landing page?
Hello: I need to authenticate users before displaying the swagger landing page. It's great that I can add authorization to the "try it" feature, and I've done that, but I want to authenticate users before they even see the list of API endpoints, and schemas.
My application is a .NET Core 3.1 application hosted in IIS. Should I simply enable IIS level authentication to handle the initial authentication? Will the user be propagated to swagger UI or will the user have to "Authorize" again on the UI using the swagger UI authorize button?
ty!