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
-
I am using
kafka-ui
withdocker-compose
and I want to testoauth2
locally. The authentication server is running in my host machine but NOT inside a container.Authentication server for oauth2:
localhost:9090
kafka-ui: docker-compose with exposes the port
8080
I can initiate the
oauth2
flow properly but whenkafka-ui
tries to hit the endpointRequest to POST http://localhost:9090/openid/token/
I get"finishConnect(..) failed: Connection refused
which 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-gateway
but it did not work.Thanks!!
Beta Was this translation helpful? Give feedback.
All reactions