-
-
Notifications
You must be signed in to change notification settings - Fork 248
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
"request to the redirect_uri path but there's no session state found" since 1.7.6-1 #462
Comments
Faced the same issue, all works fine on 4 months old installation, but not on a new one |
I don't see which change may have triggered this immediately. Is lua-resty-openidc the only things that cahnges or are you upgrading anything else like lua-resty-openidc at the same time? Any chance we can see a bigger piece of the log leading up to the error? |
my guess is the new release 4.0 of lua-resty-session that is a complete rewrite; perhaps we should lock the version down to max 3.x in the rockspec |
going back to 1.7.5 should not fix anything, then, as that would pull in 4.0 by now as well. Have we ever tested whether lua-resty-session 3.x works for us? |
https://luarocks.org/modules/bungle/lua-resty-session says 3.x was pulled in until recently |
I just re-ran the Github build action, and it is broken now where it finished succesfully a few days ago: https://github.com/zmartzone/lua-resty-openidc/actions/runs/4047591758/jobs/7025107167 so that concludes it |
Yes, downgraded lua-resty-session to 3.10-1 and all works again |
Sorry, this issue source seems to be wrong. After a while, I am also sure it is based on I tested with some daily build images and did not realize the dependencies at first. Here I documented something: bungle/lua-resty-session#124 +1 to pin |
I believe this project is the correct place to report it. After all 4.0 is explicitly not backwards compatible - https://github.com/bungle/lua-resty-session/blob/master/Changes.md . I must admit that I'm not really familiar with luarocks version matching myself and naively assumed it wouldn't include major version updates by default, obviously I was wrong. |
luarocks now has version 1.7.6-2 that pins down the lua-resty-session dependency to something < 4.0 |
Unfortunately, the release of 1.7.6-2 does not fix it for us, as the beta version of
Is it possible to pin |
tried to pin it to <= 3.10 now in 1.7.6-3 |
Thanks, I confirm that this version works fine! |
Im still having login issues with this 403 when using 1.7.6-3 with lua sessions 3.10. It used to work fine before my upgrade. Anything else that could be an issue? |
Since 2 days - after the release of 1.7.6 my login flow is broken.
Reverting to 1.7.5 fixed the issue.
Environment
Expected behaviour
The login should work fine, just as it did with 1.7.5-1
Actual behaviour
403 - request to the redirect_uri path but there's no session state found
Config files
We run this within a docker container:
And this nginx config
Environment variables reduced:
The text was updated successfully, but these errors were encountered: