Skip to content

Commit

Permalink
Update OcelotPipelineExtensions.cs
Browse files Browse the repository at this point in the history
Soft revert to previous version
  • Loading branch information
raman-m committed Jul 11, 2023
1 parent 4f4aa72 commit 33b121d
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions src/Ocelot/Middleware/OcelotPipelineExtensions.cs
Original file line number Diff line number Diff line change
Expand Up @@ -121,18 +121,6 @@ public static class OcelotPipelineExtensions
app.Use(pipelineConfiguration.AuthorizationMiddleware);
}

// Now we can run the claims to headers transformation middleware.
// We allow the ocelot middleware to be overriden by whatever the
// user wants
if (pipelineConfiguration.ClaimsToHeadersMiddleware == null)
{
app.UseClaimsToHeadersMiddleware();
}
else
{
app.Use(pipelineConfiguration.ClaimsToHeadersMiddleware);
}

// Allow the user to implement their own query string manipulation logic
app.UseIfNotNull(pipelineConfiguration.PreQueryStringBuilderMiddleware);

Expand Down

0 comments on commit 33b121d

Please sign in to comment.