Coder Social home page Coder Social logo

dystudio / tableau-trusted-authentication-api Goto Github PK

View Code? Open in Web Editor NEW

This project forked from rjhong/tableau-trusted-authentication-api

0.0 1.0 0.0 4.88 MB

This work is to modularize the Trusted Authentication work for Tableau Server, save your time for ticket exchanging!

Home Page: https://onlinehelp.tableau.com/current/server/en-us/trusted_auth.htm

JavaScript 45.72% HTML 51.92% CSS 2.36%

tableau-trusted-authentication-api's Introduction

tableau_trusted_authentication_api

Introduction

This work is to simplify the Trusted Authentication work for Tableau Server by Node.js.

What's Tableau ? Tableau is one of well known Business Intelligence Tools.
More Info

Trusted Authentication is a Single-Sign-On method for us to retrieve views (we call them viz) from Tableau Server to our Web Server using HTTP/HTTPS protocols to do so. Whatever your Web Server is build by which programming languages, as long as you can use it to access HTTP/HTTPS protocols you can do Trusted Authentication. In this case I use Node.js to approach.

Begin works

First, you need to have a Tableau Server, then get some setup on Tableau Server side. eg: tell Tableau Server to trusted your Web Server ...etc, you can either use TSM CLI or TSM web interface.

tsm authentication trusted configure -th "<trusted IP addresses or host names>"
tsm pending-changes apply

References about this setup.

Additionally, there is one thing to know, Tableau Trsuted Authentication has a restriction as default, which is :

  • As default, if using this way to implement Single-Sign-On, user can only access views only. If you want to access whole Tableau Server resources, use tsm configuration set to disable this restriction as follow : ####This step is optional and not recommended.
tsm configuration set --key wgserver.unrestricted_ticket --value true
tsm pending-changes apply

How to use tableau_trusted_authentication_api

  • the prerequisite is to install node.js.
  • Clone this project to your local file.
  • Run the following command.
cd /to_project_directory/
npm install
node app.js

You will see the following output :

Listening at port : 8080

Start using it!

Open you browser, navigate to ###http://localhost:8080/home/ It will looks like the this... demo

tableau-trusted-authentication-api's People

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.