This makes no sense to me. The redirect_uri part of the URL is always going to say localhost:8080, but there are no ports exposed to this container. When it redirects to localhost, it's always going to fail. I ran it on Unraid and Windows both with the same result. What is running on your machine at port 8080 that it's able to receive that request?