Run oauth2 locally #4414
Unanswered
marcosschroh
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I am using
kafka-uiwithdocker-composeand I want to testoauth2locally. The authentication server is running in my host machine but NOT inside a container.Authentication server for oauth2:
localhost:9090kafka-ui: docker-compose with exposes the port
8080I can initiate the
oauth2flow properly but whenkafka-uitries to hit the endpointRequest to POST http://localhost:9090/openid/token/I get"finishConnect(..) failed: Connection refusedwhich makes sense because it is trying to hit itself rather than going out the container. Do you have any ideas how can I bypass this issue? I tried to useextra_hosts: - host.docker.internal:host-gatewaybut it did not work.Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions