francescodedomenico commented on issue #13031: URL: https://github.com/apache/apisix/issues/13031#issuecomment-4202344316
Hello @Baoyuantop and @amberlipp -> In my projects I have been in the need to customize sessions for two distings subpaths, lua-resty-openidc gives the possibility to fully take advantage of https://github.com/bungle/lua-resty-session - however I noticed that the cookie.lifetime parameter is ignored by resty.session since it has been deprecated in session 4.x. I have opened a bug https://github.com/apache/apisix/issues/13177 for this and opened a pull request. @amberlipp meanwhile the PR gets worked out you can download the [openid-connect.lua](https://github.com/francescodedomenico/apisix/blob/feat/oidc-session-cookie/apisix/plugins/openid-connect.lua) file from my repository and mount it in an apisix container eg: `./openid-connect.lua:/usr/local/apisix/apisix/plugins/openid-connect.lua` Hope this helps -- 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]
