You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@hirenoble - Thanks for the feedback. For clarity, you're receiving this from the express server on a page you're serving, correct? Do you have an example cookie payload size (don't need the exact cookies, but a payload size to reproduce the error).
The fix sets the max size of headers to be 8kb. (you can see this in node --help) If you are exceeding that, you can alter this limit by using the --max-http-header-size flag, for example: --max-http-header-size=16384
Please let us know if you're hitting this limit of node or if you're hitting a different limit that is somehow related to this SDK.
I'm submitting this issue for the package(s):
I'm submitting a:
Current behavior
When the browser cookies payload is large receiving 431 Request Header Fields Too Large error.
Expected behavior
The @okta/oidc-middleware package should handle the request headers.
Minimal reproduction of the problem with instructions
Extra information about the use case/user story you are trying to implement
Environment
node -v
):The text was updated successfully, but these errors were encountered: