Closed diffyuser closed 4 years ago
I do have a similar question too.All of our apis would need an accessToken to be set in the headers. Multicasting will result in 401 in 2 of the servers.
@diffyuser I have added support to pass different header value pairs to the different servers. Its in my forked repository. Also if your cookies key value pairs are same for all the servers then you dont need my code. You can pass the cookie key value pairs as --H "userrole:admin"
I've set up diffy server and tried to use curl with cookies file(cookies from primary, secondary and candidate) to main proxy, e.g.:
Actually no luck, it doesn't seem that cookies were applied, and responses look like i've not passed authentication.
Does diffy support cookies or whethere there is any convinient way to pass authentication, as far as i need to be logged in befor performing any actions?