Skip to main content

Hi,

 

We currently have tableau server accessible using "https://tableau.domain.com" and have embedded dashboard in "https://app.domain.com"

 

we also can access the app using "https://app.domain.io" bit the embedded visual are not working because of CORS settings.

 

how can i modify tableau settings to update the CORS headers or to achieve this.\

 

Thanks.

1 个回答
  1. 2023年8月2日 11:46

    @Akshar Jamgaonkar​ 

    In this case, the most common cause of not being able to embed is that the server does not use https. But this is not the case.

     

    So, I would start by checking if the problem is related to the app side or to the Tableau Server side.

     

    a. Sign into Tableau Server

    b. Go to a view.

    c. Copy the embed code.

    d. Create a txt file and paste the embed code. Save the file

    e. Change the extension from txt to html.

    f. Open the html

     

    There could be several possible outcomes.

    a. If you did not sign out, then the report should display in the browser if opened from the html.

    b. If you did sign out, You open the html file and a window ask you to sign in. If you click on the button, a new browser window is displayed, the sign in window is shown, you insert credendials, the browser window closes and the report is shown.

    c. You open the html file and a window ask you to sign in. If you click on the button, a new browser window is displayed, the sign in window is shown, you insert credendials, the browser window closes and the report is NOT shown.

     

    If the report is displayed (a and b), it means that Tableau Server is serving the authentication cookie cross site and even more from https to http. This means the problem is in the app CORS.

     

    Test from other browsers or computers also. Tell us the result of the test.

     

    If this post resolves the question, would you be so kind to "Select as Best"?. This will help other users find the same answer/resolution and help community keep track of answered questions. Thank you.

     

    Regards,

     

    Diego Martinez

    Tableau Visionary and Forums Ambassador

0/9000