Skip to content
Discussion options

You must be logged in to vote

YARP relies completely on AspNetCore's authentication/authorization infrastructure. You can make something like this there by implementing an AuthenticationHandler, but I don't know of any exiting implementations like that.
https://github.com/dotnet/aspnetcore/blob/main/src/Security/Authentication/Core/src/AuthenticationHandler.cs

This can also be implemented with custom middleware, it might be simpler that way.
https://microsoft.github.io/reverse-proxy/articles/middleware.html#custom-proxy-middleware

Replies: 4 comments 1 reply

Comment options

You must be logged in to vote
0 replies
Answer selected by karelz
Comment options

You must be logged in to vote
1 reply
@samsp-msft
Comment options

Comment options

You must be logged in to vote
0 replies
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
Ideas
Labels
None yet
3 participants