Skip to content

Basic authentication in a destination #1878

Discussion options

You must be logged in to vote

-x is for a forward/client proxy. YARP is a reverse proxy and can rarely be used for the same scenarios. E.g. when the client connects to YARP it can't specify where requests are proxied to, that's the admin's decision.

YARP can add headers to a request. See https://microsoft.github.io/reverse-proxy/articles/transforms.html#requestheader. You could also do this in middleware: https://microsoft.github.io/reverse-proxy/articles/middleware.html

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by vincenzo-antolini-os
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Type: Feedback This issue is general feedback and doesn't represent actionable work.
2 participants
Converted from issue

This discussion was converted from issue #1877 on September 29, 2022 21:05.