OIDC Session decoding fails when OIDCSessionType client-cookie #1045
oss-aimoto
started this conversation in
General
Replies: 1 comment 1 reply
-
thanks for reporting, a PR would be most welcome |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
Occurred version: 2.4.13.2
In an environment configured with OIDCSessionType client-cookie, access after login failed to validate the session and redirected to OP.
The following is output to the Apache error log.
I'm using zlib for session compression in my environment. I checked and found that the return value of inflate function on line 900 is -5(Z_BUF_ERROR).
The buffer size is fixed at input data × 4. Z_BUF_ERROR is returned if the uncompressed data is larger than 4 times the input data.
May I send a pull request?
master...oss-aimoto:mod_auth_openidc:fix_uncompress_buffer
Beta Was this translation helpful? Give feedback.
All reactions