Closed nikhilgoud closed 1 year ago
Describe the bug We have recently upgraded our .netcore web API's to .net6.0 from .netcore3.1 After upgrade the Authorize is getting reset on changing the app definiton, did we miss any changes.
Package references
<ItemGroup> <PackageReference Include="AutoMapper.Extensions.Microsoft.DependencyInjection" Version="12.0.0" /> <PackageReference Include="Microsoft.VisualStudio.Azure.Containers.Tools.Targets" Version="1.17.0" /> <PackageReference Include="MMLib.SwaggerForOcelot" Version="6.0.0" /> <PackageReference Include="NLog" Version="5.0.4" /> <PackageReference Include="NLog.Web.AspNetCore" Version="5.1.4" /> <PackageReference Include="Ocelot" Version="18.0.0" /> <PackageReference Include="Microsoft.AspNetCore.Mvc.NewtonsoftJson" Version="6.0.9" /> <PackageReference Include="Ocelot.Provider.Kubernetes" Version="18.0.0" /> <PackageReference Include="Swashbuckle.AspNetCore" Version="6.4.0" /> <PackageReference Include="StackExchange.Redis" Version="2.6.66" /> </ItemGroup>
To Reproduce If it is a possible attache:
swagger.json
--
"Routes": [ { "UpstreamPathTemplate": "/swagger/docs/API/app1-api", "DownstreamPathTemplate": "/swagger/App1/swagger.json", "DownstreamScheme": "https", "ServiceName": "app1-api", "DangerousAcceptAnyServerCertificateValidator": true }, { "UpstreamPathTemplate": "/swagger/docs/API/app2-api", "DownstreamPathTemplate": "/swagger/App2/swagger.json", "DownstreamScheme": "https", "ServiceName": "app2-api", "DangerousAcceptAnyServerCertificateValidator": true }, { "UpstreamPathTemplate": "/swagger/docs/API/app3-api", "DownstreamPathTemplate": "/swagger/App3/swagger.json", "DownstreamScheme": "https", "ServiceName": "app3-api", "DangerousAcceptAnyServerCertificateValidator": true } ]
Hi @nikhilgoud,
thanks for your report. Unfortunately I can't reproduce the problem. Could you please prepare a demo example?
Thanks.
Closing after 8 days of waiting for the additional info requested.
Describe the bug We have recently upgraded our .netcore web API's to .net6.0 from .netcore3.1 After upgrade the Authorize is getting reset on changing the app definiton, did we miss any changes.
![image](https://user-images.githubusercontent.com/21196948/211490696-a8750aab-793e-407b-9bc6-ff72f088950a.png)
Package references
To Reproduce If it is a possible attache:
swagger.json
.--