How to handle authorization token in activereportsjs

Posted by: hmihir on 12 October 2020, 8:32 pm EST

    • Post Options:
    • Link

    Posted 12 October 2020, 8:32 pm EST

    Hi Mohit,

    I am using webapi with activereportsjs. Passing api url as a parameter to report and assigning that to datasource.

    But I need to authorize the api for security and to fetch dynamic connection string in webapi. So how can we pass authentication token using report to api call.

    Please reply in urgent basis along with my other tickiet.

    I would appreciate your quick turn around.

    Thanks,

    Mihir

  • Posted 13 October 2020, 2:37 pm EST

    Hello,

    Sorry to mention that currently, it is not possible to pass the Auth token to API in JSViewer. However,this feature is release in the next version of ARSJS 2.0 which is scheduled to release in the starting of the next month.

    Thanks,

    Mohit

  • Posted 5 November 2020, 11:08 pm EST

    Hello,

    We released ActiveReportJS 2.0 beta, and it’s now possible to pass HTTP headers along with the request. You can read more in our documentation

    https://www.grapecity.com/activereportsjs/docs/ReportAuthorGuide/Databinding

Need extra support?

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

Learn More

Forum Channels