Skip to content
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

Using session:hide() in version 4.x #183

Open
vavra5 opened this issue Sep 24, 2024 · 0 comments
Open

Using session:hide() in version 4.x #183

vavra5 opened this issue Sep 24, 2024 · 0 comments

Comments

@vavra5
Copy link

vavra5 commented Sep 24, 2024

Hello,

I am testing out the latest version of 'lua-resty-openidc' v1.8.0 which now supports v4.0.5+ of 'lua-resty-session'. In my config I had been using 'session:hide()' in order to not pass the session cookie to the upstream. Has this been removed in the latest version? I can not find any mention of this in the docs.

This is the error I now encounter.

[error] 10#10: *1 lua entry thread aborted: runtime error: access_by_lua(/etc/nginx/conf.d/default.conf:1176):236: attempt to call method 'hide' (a nil value) 2024-09-24 16:37:08 stack traceback: 2024-09-24 16:37:08 coroutine 0: 2024-09-24 16:37:08 access_by_lua(/etc/nginx/conf.d/default.conf:1176): in main chunk, client: 127.0.0.1, server: 127.0.0.1, request: "GET / HTTP/1.1", host: "127.0.0.1", referrer: "https://127.0.0.1/"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant