Local test setup with docker compose? #3702
Unanswered
tamis-laan
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'm trying to use dex locally with docker compose for development purposes. And I'm facing the issue where we have an internal docker network and the host network where the gui is forwarded to localhost:3000 and dex to localhost:5556.
docker-compose.yaml
dex_config.yaml
interface.py
When going to
http://localhost:3000/test
I'm redirected tohttp://localhost:5556/dex/auth/local/login?back=&state=lvnecuvzd2s4d6z6rvaeqfo3s
.After logging in I'm redirected to
http://localhost:5556/dex/approval?req=lvnecuvzd2s4d6z6rvaeqfo3s&hmac=ij2LH4PWcqCS-mxYqF21CphFaEx4etijDOZFYFhwprQ
.After granting permissions I'm redirected to:
http://localhost:3000/auth?code=vce5wr6pa6tz2sepvuoibe7c7&state=53XNRKrX9SJ5BiGwniQbwpGxNDsAJl
which returns a internal server error.Here are the server logs:
How do I get this working locally for development purposes?
Beta Was this translation helpful? Give feedback.
All reactions