skipper icon indicating copy to clipboard operation
skipper copied to clipboard

Cookie too large issue still exists

Open abinet opened this issue 2 years ago • 1 comments

Hi all, I am aware about https://github.com/zalando/skipper/issues/1089

For some users with big number of user groups we get cookie size 8454 (compressed already) And even with the cookie chunked into 3 parts we get "cookie too large" response.

I am wondering does the chunking help to avoid the issue really?

abinet avatar Mar 14 '22 16:03 abinet

@abinet it helped in the past, but maybe browser changed the max cookie size. https://github.com/zalando/skipper/blob/master/filters/auth/oidc.go#L40 is max size and https://github.com/zalando/skipper/blob/master/filters/auth/oidc.go#L404-L421 splits it into max 26 chunks.

Which part is telling about "cookie too large"? The browser or something else? The split will only affect the browser.

szuecs avatar Mar 22 '22 16:03 szuecs