In an implementation we setting up with oauth2_proxy, we have a problem in some cases that the hard coded max header size of 20k is not enough.
Some users have a lot of groups + a large cookie size makes it difficult to fit everything in the 20k
It could help if the max header would be a lot larger or if it could be customized through a parameter.
For the users that have a "too large" header, we clearly get the following error :
E: Ran out of header data space