revomatico / docker-kong-oidc

Kong + OIDC plugins

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Got error when trying to hit the http://localhost:8000/mock (tag: 3.0.0-4)

diep-it-dn opened this issue · comments

I got the same error as in this comment: 33
Could @cristichiru take a look? Thank you!

Indeed I left a piece of code in the plugin that I have now removed.

From https://docs.konghq.com/gateway/latest/plugin-development/custom-logic/#migrating-from-baseplugin-module:

You don’t need to add a :new() method or call any of the CustomHandler.super.XXX:(self) methods.

Try 3.0.0-5

Many thanks for the prompt reply!!!
I've tried to run on my localhost and also need to update the function set_consumer(consumer, credential) up to date with this from ldap-auth to run successfully as in this snapshot:
image

if the warning "Error with Permissions-Policy header: Origin trial controlled feature not enabled: 'interest-cohort'." is not related, I think it's fixed now!