While using azure auth as middleware on routes it is through cURL error 6: unable to resolve host: login.microsoft.com
Without middleware it works fine.
I have defined 127.0.0.1 local.test in etchost file.
However, if I do the same setup on MacOS it works like charm.
It seems like windows is somehow blocking the dns service inside docker container.