Skip to content
Hans Zandbelt edited this page Jan 21, 2017 · 6 revisions

##Frequently Asked Questions

Why does my browser get in to a redirect loop?

It may be that you are using the (default) cookie-only session storage of lua-resty-session library that lua-resty-openidc depends on and the size of the cookie becomes too large, typically >4096 bytes. See: https://github.com/pingidentity/lua-resty-openidc/issues/32.

Solution: either make the size of the session cookie smaller by having the Provider include less information in the session/claims, or revert to server side session storage such as memcache, see: https://github.com/bungle/lua-resty-session#pluggable-storage-adapters.