optum / kong-oidc-auth Goto Github PK
View Code? Open in Web Editor NEWOpenID Connect authentication with Kong gateway
License: Apache License 2.0
OpenID Connect authentication with Kong gateway
License: Apache License 2.0
How to add OIDC plugin to running Kong pod in k8, am using this helm deployment https://bitnami.com/stack/kong/helm
with root access, and my plugins in container path /opt/bitnami/kong/openresty/luajit/share/lua/5.1/kong/plugins
Need to validate api calls without redirection for login.
If failure then 401 http status should send
hi, i got this while trying to run docker container:
2023/01/28 21:31:06 [error] 1#0: init_by_lua error: /usr/local/share/lua/5.1/kong/tools/utils.lua:706: error loading module 'kong.plugins.kong-oidc-auth.handler':
...cal/share/lua/5.1/kong/plugins/kong-oidc-auth/access.lua:4: module 'kong.singletons' not found:No LuaRocks module found for kong.singletons
no field package.preload['kong.singletons']
can you help with this?
thx!!!
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?
please i need example to install, the readme is poor
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.