lua-resty-openidc icon indicating copy to clipboard operation
lua-resty-openidc copied to clipboard

runtime error: ...lua/5.1/resty/session.lua:3: module 'resty.random' not found:

Open rajeevn1 opened this issue 2 years ago • 1 comments

installed on debian as follows:

apt-get install -t testing libnginx-mod-http-lua lua{-{cjson,resty-core},rocks} luarocks install lua-resty-openidc

rajeevn1 avatar May 16 '23 12:05 rajeevn1

I'm afraid by trying to set up nginx without using OpenResty you are in for a bit of extra work. AFAIK (and I'm really not an expert here) OpenResty bundles quite a few more Lua packages than just core and the Lua module. If you try to replicate that by yourself you may need to add more and more packages manually.

bodewig avatar May 18 '23 16:05 bodewig