Empty authorization header on requests for Swashbuckle.AspNetCore

前端 未结 2 471
无人共我
无人共我 2021-01-28 18:24

Currently having an issue with authorization headers in swashbuckle for .net core The first line of code on every endpoint is:

string auth = Request.Headers[\"Au         


        
2条回答
  •  清酒与你
    2021-01-28 18:42

    Found the answer in case anyone has this issue:

    My solution can be found here: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/696

    more info on the topic can be found here: https://github.com/domaindrivendev/Swashbuckle.AspNetCore/issues/603

提交回复
热议问题