Skip to content
Discussion options

You must be logged in to vote

Nothing built in, though there are manual ways you could do it. See:
https://github.com/dotnet/yarp/blob/5e0bbb4375b1385ff6a7cafe47fb6217854656d2/samples/ReverseProxy.Direct.Sample/README.md
Or

public static void ReassignProxyRequest(this HttpContext context, ClusterState cluster)

Part of the problem is that the type of auth to be performed can be specified per route in aspnetcore, so auth happens after routing.

Do you have auth setup so that it happens before requests and is route independent?

Replies: 2 comments 4 replies

Comment options

You must be logged in to vote
4 replies
@Ghostbird
Comment options

@Ghostbird
Comment options

@Tratcher
Comment options

@Ghostbird
Comment options

Answer selected by Ghostbird
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants