Skip to content
This repository has been archived by the owner on Sep 11, 2024. It is now read-only.

Send Access Token in Headers to help prevent it being spit out in errors #1552

Merged
merged 1 commit into from
Nov 22, 2017

Conversation

t3chguy
Copy link
Member

@t3chguy t3chguy commented Oct 30, 2017

Signed-off-by: Michael Telatynski 7t3chguy@gmail.com

Signed-off-by: Michael Telatynski <7t3chguy@gmail.com>
@ara4n
Copy link
Member

ara4n commented Nov 4, 2017

i have a bad feeling that this will wreak havoc on some of the analytics we have which trawl through haproxy logs to spot patterns (and rely on sniffing access_tokens to track sessions)...

@ara4n
Copy link
Member

ara4n commented Nov 4, 2017

i agree it's generally desirable though.

@t3chguy
Copy link
Member Author

t3chguy commented Nov 13, 2017

@richvdh
Copy link
Member

richvdh commented Nov 21, 2017

@ara4n: I'd suggest the solution to the analytics is to add the Authorization header to the list of request headers we capture, so that it is included in the logs. (see capture request header in https://www.haproxy.org/download/1.5/doc/configuration.txt).

We'll also need to update the cross-synchrotron load-balancing to look for Authorization headers.

@richvdh richvdh merged commit dff76f7 into develop Nov 22, 2017
@t3chguy t3chguy deleted the t3chguy/header_access_token branch December 8, 2017 21:43
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants