kong-konga-keycloak icon indicating copy to clipboard operation
kong-konga-keycloak copied to clipboard

Tutorial does not work if using kong:3.0.0-alpine

Open zerodefect opened this issue 2 years ago • 5 comments

The tutorial uses kong:2.8.1-alpine. To keep up with the times, I tried updating to kong:3.0.0-alpine.

Unfortunately, I note that when I try connect Konga to Kong (as per the tutorial), the connection fails. This worked fine using the 2.8.1 kong image, but not 3.0.0.

zerodefect avatar Oct 02 '22 23:10 zerodefect

Hi @zerodefect, there are many substantial changes between kong 2.8.x and 3.x: https://docs.konghq.com/gateway/changelog/#breaking-changes-and-deprecations

Unfortunately, Konga appears to be an unmaintained project (https://github.com/pantsel/konga/issues/760) and for sure it is not compatible with 3.x: I am thinking of adapting the tutorial but I also have to change the name: )

Finally it seems that - at this time I write - there are no alternatives: I have not found active opensource administration projects compatible with kong 3.x.

Any idea or suggestion?

d4rkstar avatar Oct 03 '22 04:10 d4rkstar

Hi @d4rkstar, thanks for your quick response.

Pretty sad to see such a great project grind to a halt. No, I don't know of an alternative solution. Hopefully, someone with the technical know-how can take it over.

After your message, I noticed that kong-oidc is experiencing the same problem - https://github.com/nokia/kong-oidc/issues/213

One can progress without konga, but not without kong-oidc. There is an alternative option here which looks to have support for Kong 3.x.

I'm not familiar with the LuaRocks package manager. Any suggestions on how to adjust your Dockerfile to build with a different rockspec file? Am I correct in assuming that your Dockerfile uses the nokia implementation?

zerodefect avatar Oct 04 '22 09:10 zerodefect

Hi @d4rkstar, i found ligreman/king as an alternative to Konga.

I tested it and it works correctly. In pull request ligreman/king#20 there is support for docker and it works too. Unfortunately my test on King was very fast and I have never tried Konga so I don't know the differences but for the tests I have done it seems to do a good job.

rommelandrea avatar Dec 02 '22 13:12 rommelandrea

Hello @rommelandrea, sorry for this delayed answer. Never tried King :smile: But a PR is welcome !

It seems that Kong 3.x ships it's own Kong Manager for free. And another interesting project is Primate

@zerodefect: in the past i tried revomatico/kong-oidc but ended up with kong-plugin-jwt-keycloak and builded a dual stage Dockerfile like This: hope this helps!

d4rkstar avatar Dec 05 '22 21:12 d4rkstar

Hi @d4rkstar, don't worry!

About the PR: of course, now I'm working on the upgrade of Keycloak to version 20, then I can work to adapt to version 3 of Kong.

I've seen this docker container revomatico/docker-kong-oidc that includes Kong 3 and the OIDC plugin forked from the Nokia repo.

rommelandrea avatar Dec 06 '22 08:12 rommelandrea