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=...'