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
Title: OAuth2: remove internal cookies before forwarding request to backend
Description:
The cookies other than AccessToken and IDToken should be deleted before forwarding the request to the Backend applications since they're supposed to be only used by the OAuth2 filter itself.
This issue has been automatically marked as stale because it has not had activity in the last 30 days. It will be closed in the next 7 days unless it is tagged "help wanted" or "no stalebot" or other activity occurs. Thank you for your contributions.
Just adding a bit of extra context here: some webserver libraries by default have a rather low limit for the size of HTTP headers, for example the Ring Jetty adapter. With default behaviour in Envoy OIDC, there are 5 additional headers added to backend requests, as well as the same information potentially repeated in a Cookie header. Some of these headers are full JWTs so the header payload can be rather large, leading to 413 errors with out of the box behaviour.
Uh oh!
There was an error while loading. Please reload this page.
Title: OAuth2: remove internal cookies before forwarding request to backend
Description:
The cookies other than AccessToken and IDToken should be deleted before forwarding the request to the Backend applications since they're supposed to be only used by the OAuth2 filter itself.
Discussion in Envoy Gateway:
The text was updated successfully, but these errors were encountered: