Reporting from secured API Endpoint

Posted by: morsolic on 15 June 2020, 12:59 am EST

  • Posted 15 June 2020, 12:59 am EST

    Our API requires token to be able to access data in multi-tenant environment.
    I found no examples on how to pass such information in request header.
    Is it possible, could you provide an example?

    Thanks in advance
  • Replied 15 June 2020, 3:58 pm EST


    Sorry to mention that passing the authentication header in RestAPI is not supported in ARJS. It will be included in the next version of ARJS i.e ARJS 2.0 which is scheduled to release in the first week of Sept as of now.

  • Replied 16 June 2020, 1:00 am EST

    First of all thanks for the quick reply,
    I have to add that you guys did fantastic job for version 1, it looks polished, its stable and covers a lot of functionality i would expect from reporting system.
    We want to migrate away from Microsoft Reporting Services to ActiveReportsJS, and i think that's a compliment on its own.

    We need an option to pass auth header to the fetch function within the report, and we need this for our proof of concept before we are able to invest.
    Is there any way you can patch this in earlier, even if not fully tested, so we can have the POC asap, as else we may miss the opportunity to switch and may be forced to choose something else less satisfying?

    Thanks in advance,
  • Replied 16 June 2020, 6:02 pm EST


    I have forward this to our development team (ARJ-1876) and will inform you once I get any information from them.

  • Replied 9 July 2020, 2:30 am EST


    I am very sorry for the delay!

    Currently there is no build that can be shipped to the customer. You could do the following thing as a workaround:
    load report => fetch datasource data manually => embed data to report => previewthe report.

  • Replied 10 July 2020, 12:31 am EST


    That's not a workaround at all! Let's say there are 5 users, each of them should see different data when looking at the same report...
  • Replied 13 July 2020, 12:31 am EST


    Sorry to mention that we don't have any beta build for the build. Could you please wait till any beta build will be prepared for the customer.

Need extra support?

Upgrade your support plan and get personal unlimited phone support with our customer engagement team

Learn More

Forum Channels