1 Reply Latest reply on Jun 15, 2012 4:36 AM by Russell Christopher

    Trusted Authentication Problem

    Alexander Schmidt

      Hi all,

      I am currently running tests to understand the Trusted Authentication solution.

      A- I installed the Tableau Server with it's own IP address.

      B- I created a Tableau chart with Tableau Desktop which I put on the Tableau Server

      C- I added the chart sharing link on a html page of one of my web sites.

      D- In order to avoid a potential user entering a Tableau Server userid and password I did the following:

       

      i) I ran these commands on Tableau Server(D:\Program Files\Tableau\Tableau Server\7.0\bin)

      tabadmin set wgserver.trusted_hosts “IP address of my web site"

      tabadmin config

      tabadmin restart

                                                   ****    So far so good    ****

      Now I have to tell the Tableau Server who the user name is!

      That's where I am lost. I have read comments about using ASP.NET etc, but I am not familiar with all that.

      Can someone please guide me through step by step to tell me how I must proceed to generate a ticket, send a username to the Tableau Server etc ...

       

      Thanks guys for your help.

      Best Alex

        • 1. Re: Trusted Authentication Problem
          Russell Christopher

          Hey Alex.

           

          Implementing Trusted Tickets requires you to write a little bit of code IF you want the username passed to Tableau Server to be dynamic based on who just hit your web server.

           

          99.9% of folks want this - If "Alex" logs into the Web Server, and your Web Server has authenticated you as "Alex", then we also want to tell Tableau Server that it's "Alex" requesting a report.

           

          Even if you don't, some basic code is required to "merge" the trusted ticket you get back from Tableau Server with a second request you make to Tableau Server to actually ask for the report with the ticket.

           

          The code that you'd write needs to "talk" to the mechanism that authenticated you. You'd need to understand the correct programmatic methods to ask your web server "Hey, who is this guy currently logged in?". Then you need to take that information and perform an HTTP POST against Tableau Server with it.

           

          Since there are hundreds of authentication mechanisms out there, Tableau can't write sample code for each one - we leave it up to the customer to "know their own server tech", so to speak.

           

          That being said, there ARE a few samples in Tableau\Tableau Server\7.0\extras\embedding that show you how you might approach this code-writing.

           

          Sorry I can't give you a more straight-forward answer, but there really isn't one - it all depends on the authentication technology that you want Tableau Server to respect.

           

          Hope this helps? Maybe a little?