kayx23 commented on code in PR #11892: URL: https://github.com/apache/apisix/pull/11892#discussion_r1904899781
########## docs/en/latest/plugins/openid-connect.md: ########## @@ -275,6 +275,21 @@ upstream sent too big header while reading response header from upstream If so, try adjusting `proxy_buffers`, `proxy_buffer_size`, and `proxy_busy_buffers_size` to larger values. +Another option is to set the `session_content` attribute: + +```yaml +openid-connect: + ... + bearer_only: false + # this comes from https://github.com/zmartzone/lua-resty-openidc, if this is missing, all information will be stored in the session. This + # causes the cookies to be too large and the request to fail. We have control over id_token, user, enc_id_token, and access_token. + # We currently include only access_token in the session. If this gets too big we can remove it as well. Review Comment: Could you simplify the comment to ```text # use session_contents option to configure which information among id_token, user, enc_id_token, and access_token, get stored. ``` and add the same doc update to the Chinese doc? -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
