nokia/kong-oidc plugin raise error kong.plugins.base_plugin #13528
-
hi have a project that require to use oidc plugin for interacting with keycloak
plugins:
- name: oidc but when i run docker compose up this error occurred logs
|
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
Hi @johndou-and-friends ! Thank you for sending this question. I'm afraid the free plugin you're trying to use is not maintained anymore. The last commit on that repo seems to be from 5 years ago. The error you see is Kong trying to load a module called: However Kong is not supporting custom plugins with Base Plugin approach anymore: What I think you could do is:
Other than that nothing else comes to my mind apart from upgrading to enterprise edition. |
Beta Was this translation helpful? Give feedback.
Hi @johndou-and-friends !
Thank you for sending this question. I'm afraid the free plugin you're trying to use is not maintained anymore. The last commit on that repo seems to be from 5 years ago.
The error you see is Kong trying to load a module called:
base_plugin
in this line: https://github.com/nokia/kong-oidc/blob/25104595cfedb341bda00003d792e5824943615c/kong/plugins/oidc/handler.lua#L1However Kong is not supporting custom plugins with Base Plugin approach anymore:
https://docs.konghq.com/gateway/latest/plugin-development/custom-logic/#migrating-from-baseplugin-module
What I think you could do is:
Try to start an older version of Kong and try this plugin - but please be aware that…