When using the simulator inside chrome this all goes well. When starting the dynamic mode, the webpage shows up at the login screen. After logging in I can connect and fetch the schema and data. After inspecting, the popup of the webpage keeps track of the session cookie required for access to the webapplication as it should.
In tableau desktop, when connecting to the same url, I also end up at the login page and after logging in I get redirected to the page containing the WDC. From there the similarity with the simulator stops. After clicking the connect button I end up in an endless executing query popup. The next time I try to connect however, I do not have to enter my username and password again. A cookie must have been store, but I suspect it is not shared with the client in tableau desktop that is actually doing the request.
How to resolve this? I really do not want to expose the WDC on a public part of the internet (I know I can implement authorization of several sorts inside the connector) as the data I am exposing is sensitive and I feel this extra barrier is desired to protect it.
Looking forward to your response.
I am replying to bring this question up again and to ask if you found a solution. The best resource I know for WDC connection issues that are a little beyond the norm is Tamas Foldi and he may see this and assist but I'd love to know if this is still an issue.