3 ms·
Where I work we run JWT, and I've been bitten by the giant JWT tokens all the time. While HTTP doesn't specify a max header length, many implementations insert
by cbanek 6y ago
Where I work we run JWT, and I've been bitten by the giant JWT tokens all the time. While HTTP doesn't specify a max header length, many implementations insert one along the way. So I've had to find places where nginx is truncating tokens, etc. I think node also has another place you have to set to make sure you can expand the default header length as well.
- eyelidlessness 6y agoWait, nginx just truncates when it reaches its max length, rather than error? Wow that is surprising and dangerous.