Skip to content

YARP: how to supply default credentials in a proxied request? #1886

Answered by samsp-msft
MattiasMartens asked this question in Q&A
Discussion options

You must be logged in to vote

The HttpClient.WebProxy is not for this scenario, it is for when using a forward proxy that you need to authenticate with, and will not affect the authentication between YARP and the destination server.

You probably need to be looking at Configuring the client and then setting a credential something like this.

Replies: 1 comment 9 replies

Comment options

You must be logged in to vote
9 replies
@mattiasgth
Comment options

@MattiasMartens
Comment options

@mattiasgth
Comment options

@Tratcher
Comment options

@mattiasgth
Comment options

Answer selected by karelz
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
4 participants