-
Notifications
You must be signed in to change notification settings - Fork 4.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat(session) forward persistent cookie field #8187
Conversation
@@ -54,6 +54,7 @@ return { | |||
{ cookie_httponly = { type = "boolean", default = true } }, | |||
{ cookie_secure = { type = "boolean", default = true } }, | |||
{ cookie_discard = { type = "number", default = 10 } }, | |||
{ cookie_persistent = { type = "boolean", default = false } }, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is a breaking change for version compatibility with older data planes; updates will need to be made to the compatibility layer to handle these changes ahead of time of before a release.
93093ac
to
9fedbd5
Compare
@mikefero I added an entry for the |
Thanks @tschaume; feel free to revert your commit as there are items in the tests that need to be addressed for the addition into the removed_fields.lua. When this feature lands and is targeted for a particular release the compatibility layer will be updated to handle this new field. Appreciate the effort, it will be easier to address when it gets closer to release time and after this feature has been merged into |
61323cf
to
7f7e9d8
Compare
sounds good, thanks @mikefero. Reverted the commit and rebased. |
How does this relate to #8937? |
@tschaume Can you rebase, add the relevant test? That will help us merge this. |
…kie' into feat/persistent-cookie
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Missing a changelog entry, but you can add it in a separate PR.
@mayocream Could you add the changelog entry for this PR? I think it will be forgotten and not done if merged now. |
… the IDP group mapping changes. (#8187) * feat(oidc): adds `role_source` to support update RBAC user's rbac role while the IDP group mapping was changed. --------- Co-authored-by: Makito <[email protected]>
Summary
This PR forwards the
session.cookie.persistent
field from lua-resty-session. See https://github.com/bungle/lua-resty-session#boolean-sessioncookiepersistentFull changelog
persistent
field tosession.lua
andschema.lua