Skip to content

Redirect Loop with lua-resty-session 3.X #323

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

Closed
xurxofp opened this issue Mar 30, 2020 · 2 comments
Closed

Redirect Loop with lua-resty-session 3.X #323

xurxofp opened this issue Mar 30, 2020 · 2 comments

Comments

@xurxofp
Copy link

xurxofp commented Mar 30, 2020

Environment
  • lua-resty-openidc version: 1.7.2
  • OpenID Connect provider Keycloak
Expected behaviour

One redirect from login to the page itself

Actual behaviour

Infinite redirect loop

Explanation

I'm developing an integration with keycloak and this tool, but the things that where working last week did not work today.
After searching the internet I've found #32, and definetly I was getting something similar. Following that, I've found that lua-resty-session was updated this weekend. Going back to previous version solved the problem.

@1zg12
Copy link

1zg12 commented Jul 13, 2020

What's the version you have been restoring to make it work? I have reverted to as old as lua-resty-session (using 2.25-1), still facing the infinite redirect loop.

@bodewig
Copy link
Collaborator

bodewig commented Jan 18, 2021

by now several newer issues indicates lua-resty-openidc works with more recent lua-resty-session versions, even thoguh I haven't tried it myself.

@bodewig bodewig closed this as completed Jan 18, 2021
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

3 participants