Hacker News new | ask | show | jobs
by mickeyp 12 days ago
The default copy-pasta on the site has the callback port forwarded back in using the localhost trick like so: `... -p 127.0.0.1:1455:1455 ...`.

If that does not work (and an AI can't figure it out for you either) -- do email me and I'll try and help.

1 comments

The problem is that the callback binds to 127.0.0.1, so it is only available for the container's own loopback, and not for the host.

My workaround was simply to run curl in the container:

> docker exec dreamcoder_server curl -s 'http://localhost:1455/auth/callback?code=...&state=...'

Hm that is curious. For that particular line does work for me; odd. Might be an OS thing.