I have a custom plugin that is based on the JWT plugin that ships with kong, however the difference is that there is an additional step to retrieve an access token from a OIDC discovery end point. The problem I’m experiencing is that my plugin can’t find any credentials for my issuer. I have followed this guide to setup my plugin as a configMap.
I have kong consumer and a kong credential CRD with a type of
jwt which I assumed would work (as they do with the JWT plugin) but getting the following error message.
“message”: “No credentials found for given key ‘http://xx.xx.xx.xx/auth/realms/Api’”
How can I reference the KongCredential from my plugin in db-less mode?