arthurdarcet opened a new pull request, #12051:
URL: https://github.com/apache/apisix/pull/12051

   
   
   
   
   ### Description
   
   In the openid-connect plugin:
   - Remove the session.cookie.lifetime option: that option doesn't exist in 
the lua-resty-session lib, and has no impact
   - allow extra properties to support all the possible config options 
supported by the underlying lib
   
   Needed because we need to change the cookie domain to set it to the base 
tld, and not the subdomain of the initial request, so that different product 
can share auth status.
   
   Without that cookie_domain option, each subdomain needs to trigger an auth 
flow which are extra un-needed redirections for the user, and more importantly, 
if one subdomain is set to "unauth_action = pass", the user will be logged out 
on that domain until they explicitly log in even if they are actually already 
logged in on other subdomains.
   
   Change is backward compatible because the allowed extra props allow the 
removed option to be still present.
   
   Fixes
   #12050 
   #12028
   
   ### Checklist
   
   - [*] I have explained the need for this PR and the problem it solves
   - [*] I have explained the changes or the new features added to this PR
   - [ ] I have added tests corresponding to this change
   - [*] I have updated the documentation to reflect this change
   - [*] I have verified that this change is backward compatible (If not, 
please discuss on the [APISIX mailing 
list](https://github.com/apache/apisix/tree/master#community) first)


-- 
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]

Reply via email to