1 Reply Latest reply on Aug 6, 2018 11:19 AM by Patrick A Van Der Hyde

    MVC Application To Tableau Server SSO -by using credentials of a single service account

    Ravi Parashar

      Hi All,

       

       

              We have been searching tableau materials on the web to find the guidelines and codes to implement single sign-on between tableau server and the MVC application to render dashboards to users through One single Service Account but unable to find a solution for the same.

       

       

           ISSUE:

        

         We have asp.net MVC web application in which we have integrated tableau dashboards (using java script from the dashboard Share link,From Tableau Server) .

         We have a Service Account created on Tableau Server and we want to apply SSO for each user that log ins to the MVC application to the tableau server by impersonating the Service account credentials to the server.

        

       

       

      As the user is already logged-in to the web application, we dont want him to relogin to Server rather we want to use the service account credentials in the .net code to log in the user directly and show him his view of the dashboard.

       

       

      The server has "Kerberos" authentication on it .

       

       

      We looked into the web for different options but unfortunately could not enable SSO by sending usercredentials on from our application to Tableau Server .

       

       

      Below are the methods that we tried :

       

       

      1. Trusted Ticket Authentication:

      We have created a trust between our Application Server and Tableau Server . We have followed the process of TA available on Tableau help websites ... via GET & POST Requests we tried to generate the ticket and authenticate it but the server was asking for credentials .I feel there were some issues with ticket creation .

       

       

      Below code we followed

      https://community.tableau.com/thread/130481

       

       

      https://community.tableau.com/thread/138107

       

       

      2. we have also checked the trusted authentication step by step as suggested on the below link but again it didnt work for us the server asks for User credentials

      https://onlinehelp.tableau.com/current/server/en-us/trusted_auth_testing.htm

       

       

      http://experimentsinbi.blogspot.com/2016/01/trusted-authentication-in-tableau-with.html

       

       

      Request if someone can share the approach with a working .net code , so that we can implement the same in our MVC Application .

      Expecting some quick help on this

       

       

      Thanks a Lot...!

       

       

      Best Regards,

      Ravi