Hi,
I'm trying to use kong-oidc-auth plugin in a fresh install of Kong in Docker.
I'm using the latest official Kong Docker image with Kong version 2.2.1.
The installation of the plugin is okay using luarocks install kong-oidc-auth.
But when I startup Kong, I get the following error stack:
2020/12/10 14:56:08 [error] 1#0: init_by_lua error: /usr/local/share/lua/5.1/kong/tools/utils.lua:652: error loading module 'kong.plugins.kong-oidc-auth.handler':
...cal/share/lua/5.1/kong/plugins/kong-oidc-auth/access.lua:7: module 'openssl.digest' not found:No LuaRocks module found for openssl.digest
no field package.preload['openssl.digest']
no file './openssl/digest.lua'
no file './openssl/digest/init.lua'
no file '/usr/local/openresty/site/lualib/openssl/digest.ljbc'
no file '/usr/local/openresty/site/lualib/openssl/digest/init.ljbc'
no file '/usr/local/openresty/lualib/openssl/digest.ljbc'
no file '/usr/local/openresty/lualib/openssl/digest/init.ljbc'
no file '/usr/local/openresty/site/lualib/openssl/digest.lua'
no file '/usr/local/openresty/site/lualib/openssl/digest/init.lua'
no file '/usr/local/openresty/lualib/openssl/digest.lua'
no file '/usr/local/openresty/lualib/openssl/digest/init.lua'
no file '/usr/local/openresty/luajit/share/luajit-2.1.0-beta3/openssl/digest.lua'
no file '/usr/local/share/lua/5.1/openssl/digest.lua'
no file '/usr/local/share/lua/5.1/openssl/digest/init.lua'
no file '/usr/local/openresty/luajit/share/lua/5.1/openssl/digest.lua'
no file '/usr/local/openresty/luajit/share/lua/5.1/openssl/digest/init.lua'
no file '/home/kong/.luarocks/share/lua/5.1/openssl/digest.lua'
no file '/home/kong/.luarocks/share/lua/5.1/openssl/digest/init.lua'
no file '/usr/local/openresty/site/lualib/openssl/digest.so'
no file '/usr/local/openresty/lualib/openssl/digest.so'
no file './openssl/digest.so'
no file '/usr/local/lib/lua/5.1/openssl/digest.so'
no file '/usr/local/openresty/luajit/lib/lua/5.1/openssl/digest.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/home/kong/.luarocks/lib/lua/5.1/openssl/digest.so'
no file '/usr/local/openresty/site/lualib/openssl.so'
no file '/usr/local/openresty/lualib/openssl.so'
no file './openssl.so'
no file '/usr/local/lib/lua/5.1/openssl.so'
no file '/usr/local/openresty/luajit/lib/lua/5.1/openssl.so'
no file '/usr/local/lib/lua/5.1/loadall.so'
no file '/home/kong/.luarocks/lib/lua/5.1/openssl.so'
Do you have any advice?
Hi,
I'm trying to use kong-oidc-auth plugin in a fresh install of Kong in Docker.
I'm using the latest official Kong Docker image with Kong version 2.2.1.
The installation of the plugin is okay using
luarocks install kong-oidc-auth.But when I startup Kong, I get the following error stack:
Do you have any advice?