US and Worldwide: +1 (866) 660-7555
Results 1 to 5 of 5

Thread: Authentication for CDE Dashboard

  1. #1
    Join Date
    Oct 2013
    Posts
    20

    Default Authentication for CDE Dashboard

    Hi,

    How can I pass the username/pwd in the CDE Dashbaord url below?

    http://localhost:8080/pentaho/api/re...neratedContent

    If I pass username & password like below, then it works fine in all other browsers except IE, as this is not supported in IE as per this KB article https://support.microsoft.com/kb/834489

    http://admin:password@localhost:8080...neratedContent

    What are the other mechanism? Can we setup SSO between Pentaho & Asp.Net application? or set specific dashboard urls are anonymous in pentaho?


    Thanks!

  2. #2
    Join Date
    Feb 2011
    Posts
    837

    Default

    Join us on IRC! =)

    Twitter / Google+ / Timezone: BRT-BRST
    BI Server & PDI 5.4 / MS SQL 2012 / Learning CDE & CTools
    Windows 8 64-bit / Java 7 (jdk1.8.0_75)

    Quote Originally Posted by gutlez
    PLEASE NOTE: No forum member is going to do your work for you. We will help you sort out how to do a specific part of the work, as best we can, in the timelines that our work will allow us.

    I'm no expert.Take my comments at your own risk.

  3. #3
    Join Date
    Oct 2013
    Posts
    20

    Default

    I am able to authenticate the dashboard in external app using this http://jira.pentaho.com/browse/BISERVER-10708, by passing username/pwd in the url. but the thing is I can embed the CDE dashboard in Iframe only in an external application. If I need to embed the CDE dashboard as per this article http://pedroalves-bi.blogspot.com/20...taho-with.html, then all the CDA queries (doQuery ajax call) gets 401 Unauthorized error.

  4. #4
    Join Date
    Nov 2011
    Posts
    1,213

    Default

    you need to have some kind of single sign on or integrated authentication for that to work seamlessly. Otherwise, you'll get the 401.

    An alternative is to allow anonymous access to the CDA requests, but that's a security issue (you'll be exposing your data to anonymous access).
    Pedro Vale
    --
    CTools Product Development
    http://www.webdetails.pt

  5. #5
    Join Date
    Nov 2014
    Posts
    1

    Default

    Hi,
    One of the not very graceful workaround, which work for me, is to add http auth basic header on ajax setup:
    1. Go to path: /opt/biserver-ce/pentaho-solutions/system/pentaho-cdf/js
    2. Modify file: vi Dashboards.Startup.js
    3. Add this setup
    beforeSend: function(xhr) { xhr.setRequestHeader("Authorization", "Basic " + btoa(username + ":" + password)); },

    on $.ajaxSetup with variable username and password hardcoded (to your bi server admin username password)

    Hope it works for you.



    Quote Originally Posted by sonu205 View Post
    I am able to authenticate the dashboard in external app using this http://jira.pentaho.com/browse/BISERVER-10708, by passing username/pwd in the url. but the thing is I can embed the CDE dashboard in Iframe only in an external application. If I need to embed the CDE dashboard as per this article http://pedroalves-bi.blogspot.com/20...taho-with.html, then all the CDA queries (doQuery ajax call) gets 401 Unauthorized error.

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •