JWT Authentication and Swagger with .Net core 3.0

后端 未结 6 864
我在风中等你
我在风中等你 2020-12-25 12:31

I am developing some Web Api with .Net core 3.0 and want to integrate it with SwashBuckle.Swagger. It is working fine, but when I add JWT authentication, it does not work as

6条回答
  •  生来不讨喜
    2020-12-25 12:50

    If anyone is using NSwag and has landed here after searching the solution, here is the link from the official documentation.

    NSwag Enable JWT authentication

    PS: I know the original question was for SwashBuckle, but Google shows this link first when searching for NSwag as well.

提交回复
热议问题