zmartzone / lua-resty-openidc

OpenID Connect Relying Party and OAuth 2.0 Resource Server implementation in Lua for NGINX / OpenResty

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

v1.7.5 no longer works due to dependency on lua-resty-session

Scorpion1091 opened this issue · comments

"lua-resty-session >= 2.8",

lua-resty-session released a Version 4.0 with breaking changes. the dependency in the mentioned line is to Version >=2.8

The dependency should be >=2.8; <4.0

Hans has released 2.7.6-2 with just that fix a few hours ago.

Can we expect 1.7.6 on OPM? I've been using opm as package manager in my docker images for years and with that problem now, the only solution currently is to switch to luarocks and install lua-resty-openidc=1.7.6-3 with it.

For those having the same problem with opm package, the temporary solution until the 1.7.6-3+ is published in OPM:

opm get zmartzone/lua-resty-openidc=1.7.4
opm remove bungle/lua-resty-session && \
opm get bungle/lua-resty-session=3.10

Found in the main README.md:

Older versions of lua-resty-openidc could also be installed using opm but this is no longer supported.

So I guess it's either luarocks (which requires the build from source) or:

Otherwise copy openidc.lua somewhere in your lua_package_path under a directory named resty. If you are using OpenResty, the default location would be /usr/local/openresty/lualib/resty